12-06-2019 11:32 AM
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!
12-10-2020 06:35 AM
I am also facing the same problem-
Is there any VI of self test code for PXI-8431 and 8433 cards??
12-10-2020 06:41 AM
Is there a VI to self test the serial communication cards such as PXI8431 and PXI 8433/2??
12-10-2020 11:26 AM - edited 12-10-2020 11:27 AM
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
12-10-2020 04:37 PM
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/
12-10-2020 10:56 PM
Thanks a lot , I will try this approach
12-10-2020 10:57 PM
Thanks Kyle, It is hepfull.
12-11-2020 03:45 AM
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. 😁