Jump to content
  • 0

StaticIO Scripting documentations for Waveforms3


ewq

Question

Hi, 

I'm trying to use the .StaticIO on a Waveforms3 Script, however the documentation is too scarce.

This is what's available on the wiki:

.StaticIO

  • .Channel#: groups of 8 signals
    • .Mode.text: select between: I/Os, Slider, Progress
    • .Input.value: input value
    • .DIO#: I/Os
      • .Input.checked: input value
      • .Mode.text: select between: LED, Button, Switch
      • .Button.text: select between: 0/1, 1/0, Z/1, 1/Z, Z/0, 0/Z
      • .Switch.text: select between: TS, PP, OS, OD

 

I got the DIO13 configured as a PushPull Switch, but how do you set the actual value that you want the pin to output?

//Configure Static IO

StaticIO.Channel1.Mode.text = "I/Os"

// Configure Red LED

StaticIO.Channel1.DIO13.Mode.text = "Switch"

StaticIO.Channel1.DIO13.Switch.text= "PP"

 

How do I make DIO3 = 1?

 

Is there any better source of documentation for the scripting language?

Thanks,

 

 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

Thanks attila,

 

Is there any other source of documentation aside of the wiki?

 

Another thing that I'm wondering, is how to clear the output window from the script?

Link to comment
Share on other sites

The best documentation is in the application help. The online wiki might not be entirely updated.
Let me know if you have any further question.

The script output clear is in the context menu, right click on the output window.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...