07-15-2011 12:12 PM
I'm working with an extensive lab setup that uses the DIO64 board to control timing outputs to optics equipment. All I'm trying to do is get labview to wait for a TTL signal through the DIO64 at several points in a larger VI. What am I doing wrong here, and is there a simpler way?
I can verify that my signal is going through and that the proper port is being monitored. This looks like I'm making a labview blunder. The DIO64 VI's to initialize data acquisition are all stuff that came with the board. The attached VI simply replaces a graph with my trigger loop in one of the bundled DIO64 vi's.
07-18-2011 05:00 PM
I am unable to view your VI because of the missing DIO64 VIs. I tried installing the drivers from Viewpoint's website, but I believe my OS is too new for it. When you say, "get labview to wait for a TTL signal through the DIO64," do you mean that you just want this signal to cause your program to do something? If so, then you probably want to use a state machine. Using a state machine will allow you to transition to different states based on the current state of one of your ports. Please clarify what you want to do and if possible, attach the necessary VIs (zip folder).
Thanks,
Sean
07-21-2011 05:16 PM
Here are the dio64 VI's. I do in fact just want a TTL signal to trigger an event in my VI. I believe my DIO board is just sending a 16bit word every cycle of its scan clock to the computer. Its hardware is really only outputting when there's a change to atleast one state on the board's ports.
The goal of my attached VI, which is a slightly modified version of DIO64 Simple One Board Input.VI in the dio64 pack attached, was just to make labview look through an array of state values from a specific port, effectively waiting for a signal to do something. If there is a simpler way to do this I'm missing it. Thanks for the help.