ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Programmatically Self-Test Serial Cards

Is there a VI to self-test the PXIe-8430 and PXIe-8431 serial cards? I can self-test in NI MAX but would like to self-test in LabVIEW. 

Thanks!

0 Kudos
Message 1 of 8
(4,526 Views)

I am also facing the same problem-
Is there any VI of self test code for PXI-8431 and 8433 cards??

0 Kudos
Message 2 of 8
(4,031 Views)

Is there a VI to self test the serial communication cards such as PXI8431 and PXI 8433/2??

0 Kudos
Message 3 of 8
(4,044 Views)

I don't know if there is a prefab VI to do this but...

 

Make a "loop back" connector (Connect Tx to Rx, RTS to CTS, etc...)

Write a VI to send data out the serial port and check the received data for errors

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 4 of 8
(4,005 Views)

I don't have such a card to know if it will work or not...

 

But this VI here should be able to test anything you can wire to it:

https://zone.ni.com/reference/en-XX/help/373107N-01/nisyscfg/self-test/

 

And this one to get all hardware on the PC, then filter it to the device(s) you want to test:

https://zone.ni.com/reference/en-XX/help/373107N-01/nisyscfg/find_hardware/

 

 

0 Kudos
Message 5 of 8
(3,987 Views)

Thanks a lot , I will try this approach

0 Kudos
Message 6 of 8
(3,970 Views)

Thanks Kyle, It is hepfull.

0 Kudos
Message 7 of 8
(3,969 Views)

Please note that those self-tests are typically not much more than trying to read a specific register from the device. If that succeeds the test is considered successful. Being able to actually initialize the port (and in the case of a serial port write and read some data) tests a lot more.

The self-test COULD be a routine in the firmware that does a lot of internal testing and calibration measurements but it very seldom is. For most DAQmx devices it definitely isn't much more than a more or less random register read, and I do not see how a serial card would have more elaborate self tests. It is also eminent from seeing how fast those self-test routines perform. They can't really do much!

 

Hoping that that doesn't prompt some VW type software engineer to go and build a time delay in that self test routine to make it look to work more realistic. 😁

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 8 of 8
(3,955 Views)