LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how can i modify this Initialize vi to allow me to assign a different com port?

The attached VI is associated with a California Instruments programmable power supply. I need to set it up to work with the power supply connected through a 4 to 1 serial to USB hub, which shows up as com ports 14-17 in my Device Manager. Other Initialize VIs give me a drop down box with all com ports listed and I can select the one I want. This one doesn't give me any other options than GPIB and COM1. Can anyone suggest a way to modify this VI to accomplish this? I have a call into C.I. but don't know when they will respond and I'd like to pursue a parallel and more reliable course of action.
0 Kudos
Message 1 of 2
(2,187 Views)
Hi wb2nvy,

you have to edit the combo box 'resource name'. Right-click, select 'Edit items', duplicate the entry 'Serial Port...' and change the copy to COM14 / ASRL14. Maybe this does the magic Smiley Happy

But:
Your call is handled by a dll! Maybe this dll doesn't know how to handle ASRL14 and only allows the predefined strings in your combobox...

Message Edited by GerdW on 06-05-2007 02:42 PM

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(2,175 Views)