From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

test de lecture et ecriture avec labview et testStand

Hello,

in my project I use the NI PCI 6518 card to get a digital input (presence sensor (LED)) and a digital output (switch activation).
so I want to do a test: if read Input (1) = 1 then write output (14) = 1.
and this test will be made with TestStand!
I made the vi reading and writing (attached you find both vi) but I can not do the test !! Smiley Sad
please can anyone help me

Download All
0 Kudos
Message 1 of 7
(4,171 Views)

salut tt le monde 🙂 

j'ai un vi qui donne une sortie X, je veut utiliser cette sortie en testStand pour tester un autre vi sous testStand ! comment sauvgarder cette sortie en tant qu'une variable partagée ? s'il vous plait aide moi 

merci

0 Kudos
Message 2 of 7
(4,124 Views)

Have you taken a look at Chapter 4 of Using LabVIEW with TestStand? (Available: http://www.ni.com/pdf/manuals/373200c.pdf) That discusses passing variables between LabVIEW VIs and TestStand. 

 

These forum threads also have some good information about passing data from a VI to TestStand.

http://forums.ni.com/t5/NI-TestStand/Parameter-Passing-between-TestStand-and-LabVIEW/td-p/382486

http://forums.ni.com/t5/NI-TestStand/TestStand-2012-Newbee-Question-How-do-I-pass-a-string-from-a-VI...

 

Hopefully those get you started!

 

William R.

National Instruments

 

William R.
0 Kudos
Message 3 of 7
(4,073 Views)

 

Bonjour, 

j'ai crée un vi qui contient des switch et je veux commander ces switch! avec la carte ni-pci 6518

mais le problème lors de l'exucution le message d'erreur s'affiché (ci-joint).

aidez-moi s'il vous plait

Download All
0 Kudos
Message 4 of 7
(4,054 Views)

In the block diagram, what is the selection under the write.vi?

Shalini M.
Partner Development Engineer
Alliance Partner Network
National Instruments
0 Kudos
Message 5 of 7
(4,010 Views)

If you change the Line(s) control in your front panel to say: "Dev1/port2/line0:7" that should resolve the error.

Shalini M.
Partner Development Engineer
Alliance Partner Network
National Instruments
0 Kudos
Message 6 of 7
(4,008 Views)

thank you 🙂

0 Kudos
Message 7 of 7
(3,995 Views)