LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Digital IO behavior on simulated DAQ?

Solved!
Go to solution

First experience with creating an using a simulated DAQ to do offline development, i am having an issue with the Digital input card (9375).  I want to monitor (2) channel for DI signals, when i run the example code the channels are actually toggling (T/F).  Not sure why this is doing this, it's actually counting in binary...

 

It would be nice to create code that would allow me to manually change the state of the channels to mock an event and see how the code responds but it's counting and pretty much un-usable.  What am i doing wrong...?

 

 

0 Kudos
Message 1 of 3
(3,050 Views)
Solution
Accepted by coolhandLV7

This is normal:
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000x0PxCAI&l=en-US
"Digital data is returned as if each 8-bit port were counting up."

You can create "debug" case for manual control (create button on FP).

0 Kudos
Message 2 of 3
(3,011 Views)

Adding a debug case structure would be a change on the application end. Is there a way where we can set the state of Digital Input to desired value?

This would allow the developers to validate their application in a better way pre deployment & also help in SIL environment.

0 Kudos
Message 3 of 3
(2,656 Views)