12-09-2008 10:12 AM
I created a test program in Labview 6.0 to control a BKPrecision power supply and Measurement computing DAQ in our test system. I am able to control both intsruments from my PC which has Labview loaded on it. I created an executable from the application builder tool for distribution. When i install the run-time engine and executable on a new PC (Labview not installed), i am unable to control the BKPrecision power supply. The BK power supply is connected to the serial COM port of the PC.
Do i need to install drivers that are not included in the executable build?
Do i need to install VXIpnp (VISA interactive control)?
thanks,
Tim
Solved! Go to Solution.
12-09-2008 10:18 AM
Tim, it depends on whether you used VISA for you serial communication. NI has versions of serial communication VIs which do not use VISA. If that is the case, the you should have serpdrv in your build file. If you used VISA, then you will need to install the drivers. You should have gotten an error message (assuming you are paying attention to them). You would also need to install the MCC driver package, most likely.
You may also want to confirm that you can control the BK through Hyperterminal on the system, that the COM ports match, etc.
12-09-2008 11:16 AM
12-09-2008 01:30 PM
12-10-2008 11:00 AM
12-11-2008 11:06 AM
I found the BK Precision labview drivers do a VISA read/write to com port 1 by default, i did not specify a VISA resource in my code.
I was able to gain control of the power supply by loading a VISA driver.
I loaded VISA run-time engine driver ver 4.4.
The executable was created using VISA ver 2.5.
Should i load ver 2.5 instead of 4.4 even though 4.4 works?
What is the difference between the API type drivers and the run-time type drivers, the download website lists both.
thanks everyone for your help,
Tim
12-11-2008 11:18 AM
tmann-
The API Drivers are often times for more specific Operating Systems than the others (Linux, Pharlap, etc.) and they are more easily accessible for programmers that want to (and have enough time to put up with the headaches :)) of building speciality drivers off of ours. 99% of the time you just want the drivers that come up first when you type in your driver name (NI-VISA). As to versions, issues can crop up later from not using the exact same driver version but all the drivers are built off of each other (they hardly ever scrap an entire driver and start over) so the problems should be minor. Its up to you about switching. Unfortunately to downgrade version you have to completely uninstall the driver from Add/Remove Programs>>National Instruments Software>>Your driver and then reinstall the correct one. If you have time, I think it is well worth it to do it right the first time. Hope this is helpful!!
12-11-2008 12:27 PM
the visa run time engine ver 2.5 driver on the NI website does not list windows XP in the operating systems column.
i am using XP, should i choose a newer version that lists XP?
thanks,
tmann
12-11-2008 01:47 PM
tmann-
I would update the driver on the development computer that made the executable, recompile it, and then make an installer with this current driver or just install it on the computer that will be running it. It is always best to have complete compability between the development and host computers to insure that whatever is seen on the host computer was the same as during the development. Hope this explains a little better.