Jump to content
  • 0

Reading from High-Speed Inputs on Digital Discovery


GingerJake

Question

Hello!

I can see from the LabVIEW examples installed with the WaveForms toolkit on how to talk to my IO on my digital IO.

I use the format "dig/0:15" to talk to ports 24-39, with 0 corresponding to IO port 24 and so on. However, I'm trying to figure out how to address the high-speed input ports, and I'm not finding examples. It's likely simple. I just don't know the syntax.

Thanks!

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hello @GingerJake.

The WaveForms SDK Reference Manual mentions "If fDIOFirst = true DIO24..39 are placed at the beginning of the array followed by DIN0..23. With fDIOFirst = false DIN0..23 are placed at the beginning followed by DIO24..31. Valid only for Digital Discovery device."  For a Digital Discovery, the default value of the fDioFirst parameter, in the FDwfDigitalInInputOrderSet function, is true.  Try using the format dig/16-39 to read input channels 0-23.

Example guide for Controlling Digital Discovery with LabVIEW.

Regards,

Fausto

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...