LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using VIs by Dr. Norberto Pires to communicate with JR3 force sensors

Has anyone used the VIs by Dr. Norberto Pires to communicate with a JR3 force sensor?

I am attempting to use 'Initialization JR3.vi' to check that status of one of my four sensors, however I do not understand what LabVIEW controls are needed for "Control IN" and "Control OUT".

Here is a link to the documentation for this VI:
http://robotics.dem.uc.pt/norberto/jr3pci/paginas_html/JR3%20(PCI).htm

Thanks in advance for any help.

- Jonathan Sakai
0 Kudos
Message 1 of 8
(4,826 Views)
I am having this same problem.  Anyone?
0 Kudos
Message 2 of 8
(4,692 Views)
It looks as though the "Control IN" and "Control Out" are inputs and output for all of the functions located at that website. Therefore, you will need to cascade the INs and OUTs as the program flows. For example, wiring the OUT of the Initialize VI to the IN of the next VI etc. etc.. As for the very beginning I cannot be sure from the documentation. However, you can always right click the "Control IN" input and go to create>>control. This will make a LabVIEW control that is the same type as the function expects.

I hope this helps,
Rick Kuhlman

0 Kudos
Message 3 of 8
(4,670 Views)
I have it solved.  Here's the problem, and the solution:
 
Dr. Pires provided an activex control for the pci card... but it isn't immediately recognized by the computer upon download.  Therefore when you try to find the np_jr3x.ocx to place it in the activex control window you will not be able to find it, and when you try to run his example you will get an error.
 
To solve this problem, you must register the activex control.  Open a CMD window, go to the directory containing the OCX and write:

regsvr32 np_jr3x.ocx

Now LabView should allow you insert np_jr3x.ocx as an activex control.  Do this by selecting "create control" or "create object from file" from the drop down menu. 

Dr. Pires was kind enough to help me directly on this, and I hope this tidbit helps you as well.  Best of luck!

-joel

 
 

Message Edited by jweisenb on 10-17-2006 03:02 PM

0 Kudos
Message 4 of 8
(4,661 Views)
I have a very similar Problem.

I use XP and a Labview 7.1 Version. I got a Jr3 pci-card and jr3  force sensor.  I tried to use the VIs by Dr. Norberto Pires but it does not work.

I already registered the activex controll, but still the same "error 97"
 

It lookes like if the "Conroll IN" can´t get acces to the jr3 card.



0 Kudos
Message 5 of 8
(4,578 Views)
Does anyone solved the problem of "error 97"?
Maybe someone of you have written drivers for jr3 sensor by him self? Is it dificult to write a driver using DDK?
How can I contact to Prof. Norberto Pires (except e-mail and fax, because it does not work)?
Thank you for help,
Marek
0 Kudos
Message 6 of 8
(4,437 Views)
The DDK requires detailed knowledge of the instrument you are developing a driver for, so it primarily depends on your knowledge of the device itself.  This is a repeat thread, please see this thread for additional information.
0 Kudos
Message 7 of 8
(4,408 Views)

Hello.
I used the VIs of Dr. Norberto Pires in Labview and I solved all problems.
These are the steps to properly install the PCI card and then use JR3 VIs in LabVIEW to control the force / torque sensor.
1. Install the drivers from the website of JR3 for w7 32 bit. (64 bit is not currently supported). The "JR3drivers" folder will be downloaded.
2. Install wdreg.exe
3. Install windrvr.exe
4. Turn off the PC.
5. Insert the PCI card.
6. Turn on the PC.
7. Go -> "Device Manager" and look for an unknown PCI device, which will be the PCI JR3 not yet been recognized card.
8. Right-click -> "Update Driver Software".
9. click in -> "Search for driver software on your computer".
10. Indicate the route of the "JR3driver" folder discharged before.
11. Check the sample sotware "JR3PCI" that the sensor works.
12. Vendor ID 1762.
13. Device ID, see sticker on the PCI card.
14. Click on "Download DSP CODE and Start Sensor".
15. Clcik START.

Once this is done, we have recognized PCI card. Now to use Labview and sensor.
1. Download the VIs Dr. Norberto Pires.
2. You must register the ActiveX control. Open a CMD window, go to the directory container containing the OCX and write: regsvr32np_jr3x.ocx
3. Enter at VI "Initialization JR3".
4. Place in Vendor_id IN DECIMAL NUMBER 1762 -> 5986 !!! (EX. 0x1762 = 5986)
5. Enter in device_ID the number of ID PCI IN DECIMAL ----> example 12564 (0X3114 = 12564)
6. Click on RUN.

 

I hope to I have been helpful.


- Luis Martín Veloza. Industrial Electronics and Automation Engineer. University Carlos III Madrid

Message 8 of 8
(3,552 Views)