Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Questions about simulating the NI PCI-6527

Hello:
 
I have a NI PCI-6527 but I want to make my LabVIEW program simulating this device first.    I've created a  task using LabVIEW to reading the port0  and I can run the TEST from de DAQ assistant window (it's a simple counter right??), and when I click "OK" button, the DAQ appears in the block diagram with the stop as an input, and the data and task out as outputs.  So I create an control for stop input, and the indicators for both outputs. But when I run the program, the indicator for the "data" is on "0" all of the time the program is running!!!!! It doesn't change. I suposed that in this data ouput I could see the counter or am I wrong???
 
My project with the NI PCI-6527 is to read 10 photosensors (these sensors have TTL outputs ) and to send 7 digital TTL singnal to control 7 machines. But right now I don't have these sensors here. That¡s another reason for making my LabVIEW program simulating the PCI-6527. But I thought that I could simulate these sensors as inputs for the simulated PCI-6527, but I don't know how to do these
 
 
Regards!!
MariMS
Marisol Mejías Segura
Electronics Engineering
0 Kudos
Message 1 of 2
(3,187 Views)
Have you run the shipping example called Read Dig Port? That doesn't use the DAQ Assistant but it would work the same. I'm a little unclear on how you've written your example VI. Do you have the DAQ Assistant inside a while loop? Your VI should be something like the attached VI. You will need to change the device number to match what you have. My guess is that you are doing a run continuous and that is not a correct mode of operation. When you do that, the First Call inside the assistant is always true and the task is always being started from the beginning each time.
Message 2 of 2
(3,179 Views)