Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Data from ADISUSBZ

Hi,I'm a student of Electrical Engineering, Faculdade de Ciências eTecnologia of Universidade Nova de Lisboa in Portugal, and at the endof my graduation I need to finalise my thesis with a research project.

The project consist in the stabilization of line-of-sight with twoangulare axes. We acquired the iSensor (ADISUSBZ) due to theirphysical qualities, size and weight, as it will be attached to theplatform so we can read the information from the gyroscope. Theinformation obtained will be treated externally using LabVIEW forcreate the control actions that will operate the servo and we'll getthe desired stabilization.

However, the difficulty it's reading data in Labview, because thisdoes not recognize the iSensor, hence the various attempts to create adriver. Therefore, I asked what was the programming language to advisethe implementation of the controller to be able to do read theiSensor.

 

I tried that:

Tutorial NI

Tutorial Nugget

but never can access the register with information.

 

Thanks!

Best Regards.  

Portugal
Por mares nunca d'antes navegados.
0 Kudos
Message 1 of 8
(4,948 Views)
Creating your own driver seems like a waste of time. Especially if you don't have extensive details on the USB communication from the vendor. Why don't you interface to the dll that the vendor provided and that you mentioned getting in your post to Lava. This is done with the Call Library Function Node. It would have also been polite to mention your post to Lava in the first place.
0 Kudos
Message 2 of 8
(4,939 Views)
I've put the same question because there could be someone with the same problem.It was an oversight on my part did not refer that I had posed the same question in forum LAVA.
Portugal
Por mares nunca d'antes navegados.
0 Kudos
Message 3 of 8
(4,927 Views)

I tried several times utilize the block "Call Library Function" how you told me, but I receive always error, that it's error:1097.
I just researched for this error, but don't understand how make, because I never created any driver and the dll for me is the very "strange".

PS: I have the file .dll and others necessary .sys and .inf, told me the vendor 

 

PS2: How put here files? 

Portugal
Por mares nunca d'antes navegados.
0 Kudos
Message 4 of 8
(4,919 Views)
First, you attach files here by clicking on the 'Add Attachments' right below the message body. Second, if you use the instrument driver wizard, make sure you undo all of that and that you are using the .inf file provided by the vendor. There are other files that need to be installed in the correct location as noted in the word file. Third, the error indicates that you might have used the incorrect function types in calling the dll. Was there a .h file provided? If so, there is a shared library wizard under the Tools>Import menu. This requires the .h file. Otherwise, can you also attach the VI so someonc can see what you've done?
Message 5 of 8
(4,915 Views)

I did the one simple thing, that is use direct the block 'Call Library Function' for verify if work well '. dll' 

The files follow next: 

 

Portugal
Por mares nunca d'antes navegados.
Download All
0 Kudos
Message 6 of 8
(4,901 Views)

Hello all, after analyzing the .h of the dll, I notice that the functions present on MCP_iSensors_DLL.doc aren't the same.  

I wrote to Analog Devices for report  this problem, I hope they will tell me how to make, because it should be this problem with the files.

Portugal
Por mares nunca d'antes navegados.
0 Kudos
Message 7 of 8
(4,896 Views)

I received the source code, at least that's what the vendor told me.
I have a problem of is not find any file that I can reading ... only '.exe'.
That all I have!

 

 My .vi follow with others files, but error is the same.

 

PS: The .dll has been placed in a previous post. 

Message Edited by Cabecinhas on 23-12-2009 01:02 AM
Portugal
Por mares nunca d'antes navegados.
Download All
0 Kudos
Message 8 of 8
(4,806 Views)