10-26-2006 10:56 AM
10-26-2006 01:59 PM
10-28-2006 10:34 AM
10-28-2006 12:52 PM - edited 10-28-2006 12:52 PM
If it's the driver here, then when you use the Initialize function and have a serial port instrument descriptor, then it will automatically configure the serial port. I have 7.1 and the driver I downloaded has the 'Old' VISA Open in it. I would recomend that you replace this with the VISA Open on the palette and redo like the attachment. You first have to right click on the VISA Session terminal and select 'Show Control'. Then go to the front panel, and since the string control has been deleted, wire the VISA Session control to the upper leftmost connector of the connector pane. With a VISA Resource Name control, you can just click on the littel arrow on the right side of the control to select your com port. There is a function in the above driver called XanXT Config Voltage. Every time you want to increase the voltage, you just have to call this. If you want to increase the voltrage in a series of steps, a for loop would work if you wired in an array of values.
Message Edited by Dennis Knutson on 10-28-2006 11:53 AM
10-28-2006 05:08 PM
10-28-2006 08:04 PM
10-30-2006 01:28 AM
Thank you for your help,
I don't have Labview 6.1 and 7.0 , can you please convert it to me ?
Thanks for your help.
10-30-2006 03:50 AM
I changed the old open visa, but it still not working
How should I do? I can't get forward...
Please help me,
In attached there is the Vi where I'm trying to set a voltage.
It seems that initialize.vi is made only for GPIB.
10-30-2006 07:34 AM
First of all, when you only attach a VI, that only attaches that VI. It doesn't attach any subVIs. Each VI is a separate file as you should have noticed and you would need to attach each one separately. A better way is to use your File>Save With Options and select Development Distribution. This will create an llb with the main VI and all subVIs.
It does seem though that you were able to find a 6.0 version of the driver. I've attached one that I created for you anyway. I did the initialize VI correctly. As I mentioned, you needed to replace the string control on the connector pane with the VISA session control. You did not do that. In your main VI, use the initialize that I created and wire a constant or front panel VISA Resource Name to the initialize function. There is a little arrow on the right side of this control. Click it and you will get a list of all VISA Resources on your pc. Select the one (i.e. Com 1), that is connected to your instrument.
10-30-2006 09:22 AM