Hello
I’m trying to using a Power Supply CPX400DP with LabView via USB port, on a new pc (with Windows 10 OS, Labview 2014 SP1).
The same power supply device correctly works when used on my old pc (Windows XP, Labview 2009), that must nevertheless be substituted.
I’m trying to use the same test VI (attached) containing the basic subVIs for controlling the CPX400DP (initialize, set volt/amp values, ecc., close), and this works perfectly using the old pc, while gives often errors when using the new pc.
The CPX400DP is recognized by the new pc as COM6 when connected with the USB cable: I created in NI-MAX the ASRL:INSTR6 corresponding to COM6, then in the VISA resource name (specified before of the “initialize” VI) control the name “COM6” is specified.
However when I launch the VI, often it returnes an error to me, before establishing any communication.
Sometimes, after switching off/on the USB cable, the VI works correctly, but only for 1 time; then I only obtain error messages unless I switch off/on the USB cable.
Generally the error message is generated by the first subVI (“initialize”), because it is not able to establish the connection.
Sometimes it occurs that the volt/amp levels appear on the power supply front panel after that the VI has been closed (after an error!).
The error messages that frequently appear are:
Error code (initial): -1073807339
Error code (final): BFFF0015
If I open the NI-MAX on the new pc, then the information about the CPX only appear within the menu “IVI Drivers”, while in the “Devices” menu it only appear the “ASRL:INSTR6 (COM6)” that I created, but without reference to the specific devices connected.
Old pc: Windows XP 32 bit, Labview 2009 32 bit, NI-VISA, driver: lv-cv-CPX400DP-v1.0.0
New pc: Windows 10 64 bit, Labview 2014 SP1 32 bit, NI-VISA, driver: lv-cv-CPX-v1.4.0
Help please!!
Thank you
Best regards
Simone