ewq Posted May 20, 2016 Share Posted May 20, 2016 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 More sharing options...
attila Posted May 23, 2016 Share Posted May 23, 2016 Hello, StaticIO.Channel0.DIO3.text = "1"; StaticIO.Channel1.DIO13.text = "1"; Link to comment Share on other sites More sharing options...
ewq Posted May 23, 2016 Author Share Posted May 23, 2016 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 More sharing options...
attila Posted May 24, 2016 Share Posted May 24, 2016 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 More sharing options...
Question
ewq
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
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
Archived
This topic is now archived and is closed to further replies.