LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I am trying to communicate with third party instrument via usb but I dont know how to do it even in Ni-max I am not able to see usb port symbol in Devices and Interface section.

Solved!
Go to solution

yes i m just click on the arrow in visa resource name but i m not able to see my visa alias name which i have given in NI-max.

and yes I can do read and write operation in Ni-Max in open visa test panel.

0 Kudos
Message 31 of 60
(1,772 Views)
None of this is making sense. Your connection in MAX should be a com port. If you have USB RAW, you did something very wrong. If you used the VISA wizard to create a USB connection, why?
0 Kudos
Message 32 of 60
(1,762 Views)

I just follow this link http://www.ni.com/white-paper/4478/en to make my usb raw connection.

if this is something wrong then what i have to do now and how can it possible to see come port in usb connection..

or can i use again RS 232 cable as its seems usb raw is very difficult for beginner like me??

 

0 Kudos
Message 33 of 60
(1,755 Views)

Oh i got just confuse with Usb raw ...

I am using usb cable which from one end it connected with powersupply and other end is connected with my pc.

here in attachment you can see the connection is this right or not??

0 Kudos
Message 34 of 60
(1,739 Views)

Hi,

 

I have both a HAMEG Power and a Oscilloscope. I have created a USB driver which I use for this. However the power and scope does not work with every VI in the LabVIEW driver from Hameg. I was not able to read the voltage/current of the Hameg Power. I was only able to set the voltage/current. I sent a mail to Hameg and I got this reply (attached).

 

I will therefor recommend you to use RS232 if you want to use all the VI's in the Hameg driver.

 

Regards,
Even
_________________________________
Certified LabVIEW Associate Developer

Automated Test Developer
Topro AS
Norway
0 Kudos
Message 35 of 60
(1,732 Views)

hiii,

in attachment i put the driver, currently i am dealing with that driver will you please tell me that you also used same one.

ok now i ll try with RS232 ,as i need to use that same cable in future.

thank you very much for your help.

 

 

0 Kudos
Message 36 of 60
(1,725 Views)

Hi,

 

I use the same driver as you. If you fully want to use all the functions, you have to uninstall your VISA Wizard Driver, reconnect the Hameg Unit and let windows install the drivers. Then you should connect to your Hameg through the virtual com port. It still uses the USB cable. It just simulates a com port on you computer. Hameg describes this in the attachment I uploaded in my previous post.

 

Or you can just use the RS232 cable interface.

Regards,
Even
_________________________________
Certified LabVIEW Associate Developer

Automated Test Developer
Topro AS
Norway
0 Kudos
Message 37 of 60
(1,713 Views)

as you send me in attachment i tried to follow same but i got problem by using meas?\n command that i have attach here.will you please let me know how can i overcome this problem ?

is there any changes i need to do??

0 Kudos
Message 38 of 60
(1,712 Views)
Solution
Accepted by topic author AnkitRamani

Hi,

 

I would rather use the LabVIEW VI's. Try to run my attached example. LabVIEW2011.

 

You have to change the input name to what you have named your power.

Regards,
Even
_________________________________
Certified LabVIEW Associate Developer

Automated Test Developer
Topro AS
Norway
0 Kudos
Message 39 of 60
(1,705 Views)

ohh thank you very much now i can set my voltage value.

for current simply i have to replace the voltage configurations by current confi.

or i have to do any thing else.

0 Kudos
Message 40 of 60
(1,698 Views)