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

ohhh I am really very sorry for that.

I never used this before this is my first time and even i dont know which drivers are for labview.

i got only powersupply and ask me to design any how.

so i read some where that plug and play are used for labview so i downloaded that but tomorrow i ll try with other one.

sorry again.

0 Kudos
Message 11 of 60
(1,573 Views)

Thank you ,

I follow all the step as per link and now i can see my usb port in NI-max and after double click on that i can do serial read and write operation.

but i am confuse with the driver now which driver i have to install now one you send me link i tried with that but in that i got error and i got more confuse for example here in attachment some screen shots are may be help you to understand my problem.

if we want to use usb then vi has different configuration compare to RS 232??

Download All
0 Kudos
Message 12 of 60
(1,554 Views)
Those missing VIs are all part of the download. In the hmp4000 folder, there are other folders and these have all of the subVIs. You can browse for them when you open the initialize function.

You have to change the resource name to the com port you are using. Since the USB is emulating a serial port, that is what you will see MAX - not a USB.
0 Kudos
Message 13 of 60
(1,528 Views)

And just to be clear, don't open the vi's from within the ZIP file.

The vi's needs to be extracted from the zip file before you use them.

0 Kudos
Message 14 of 60
(1,516 Views)

hello,

i have unziped my hmp4000 folder in the C:\Program Files (x86)\National Instruments\LabVIEW 2012\instr.lib  and from that i opened my initialize.vi but i m not able to detect my visa alias name on visa resource name port.

and when i try to run my vi tree then i got error which i have attached here.

and when i try to open my project from tools ..instrumentation...find instrument driver ,in that i am not seeing my insrument driver so is there any problem in installation of driver or my way to unzip my folder is wrong.

will you please guide me ...thank you ..

0 Kudos
Message 15 of 60
(1,500 Views)

Those are warnings, not errors. It's just telling you that it found the VIs in a different location than when the code was saved. It's odd that it would actually do that, since the VIs were saved with the relatve path for <instrlib>. I can see from the screenshot that you have this installed on a 64-bit system, so the path has "(x86)", but that would not affect it. I wonder if this is a LabVIEW 2012 issue.

 

Regardless, you should be OK with using the VIs.

0 Kudos
Message 16 of 60
(1,477 Views)

but when i tryied to creat new driver instrument project ,labview cannot detect the new driver and its always open old example so how can i correct that and how can i change the value of current and voltage.

and when i open initialize.vi directly from the folder even though visa resource name can not detect my alice name.

pls guide me.

thank you.

0 Kudos
Message 17 of 60
(1,475 Views)

You have not extracted the vi's to the correct folder.

Right now you have them in: C:\Program Files(x86)\National Instruments\LabVIEW 2012\instr.lib\hmp\instr.lib\hmp4000

You should have your files in: C:\Program Files(x86)\National Instruments\LabVIEW 2012\instr.lib\hmp4000

 

That is also why you got the warning message in the first place.

 

The tree VI is only a collection of the all the vi's in the folders, that is not supposed to run.

 

You need to be more clear on what you are doing and what you are seeing.

Post some pictures.

 

Have you tried to just make a new blank vi ?

 

0 Kudos
Message 18 of 60
(1,464 Views)

ok I  extract on same path as you told and thats also in attachment.

I have to design powersupply and its for 4 chaneel and and then we have to coneect lantern and gps system with that.

but right now my boss told me to design powersupply by using labview.

and one more thing that why i am not able to find any direct example like in my previous wrong driver there was one example in that direct function was given to change current and voltage.

but here numbers of vi are given so will you pls tell me that i have to design that according to powersupply or by using that vi i can directly communicate with my powersupply.

2nd attachment: that i have double click on that folder and i got this type of subfolder now what i have to do.??

3rd attachment:in that when i tried to open instrument io and in that hameg4000 i got missing vi error.

 

0 Kudos
Message 19 of 60
(1,457 Views)

@AnkitRamani wrote:

but when i tryied to creat new driver instrument project ,


Why did you do that? You already have an instrument driver! Stop doing things like this. This is half your problem.

 


@dkfirewrote:

Right now you have them in: C:\Program Files(x86)\National Instruments\LabVIEW 2012\instr.lib\hmp\instr.lib\hmp4000

You should have your files in: C:\Program Files(x86)\National Instruments\LabVIEW 2012\instr.lib\hmp4000


Ah, good catch. Did not see that extra level there.

0 Kudos
Message 20 of 60
(1,456 Views)