09-30-2013 03:48 PM
Hi there,
Currently I am making a Vibration Analyser to measure transmissibility between 2 masses, therefore i need to measure both masses at the same time with 2 phidgets at the same time. My problem is, when i use only one phidget at a time the program identifies it correctly and measures it just fine, I am using 2 different phidgets, the 1056 and the 1049. But when I plug both at the same time only one event is on, it identifies both but the graphs are not working properly for some reason, and I think its because of the event. I am not very good at Labview, I only made one simple program before so my experience is not very vast. I hope it doesnt need SubVI's!
Would appreciate some help from u guys.
Best Regards.
João Pereira
Solved! Go to Solution.
10-02-2013 11:32 AM
Wanted to Bump this topic and put a picture of the block diagram, I started to work on one of the examples provided here. My problem is still the same, I tried many different things to try to resolve this but like I said my understanding of Labview is basic and would appreciate some help from you.
Best regards,
João Pereira.
10-02-2013 12:15 PM
Can you share those subVIs as well? It is hard to debug just a picture. If you can, zip up your project and point us to which VI is having the problem.
10-02-2013 03:06 PM
This is the example im working on, from phidget site, the manufacturer of the sensors im currently using.
http://www.phidgets.com/documentation/web/LabVIEWDoc/index.html?event_handler.htm
And it was download from here: http://www.phidgets.com/docs/Language_-_LabVIEW#Quick_Downloads under Example Code (64 bit Windows - same file as LabVIEW library)
The original file can be located on the zip file im sending under \PhidgetsX64\Examples\Spatial , the subsVIs are there too, I only made minor changes in the file that can be found on my first post, I duplicated the content and put it all under one loop then i made few alterations so i could graph the results. The program works fine when i use only either one phidget sensor at a time, and it shows the correct values on the graphs and on the indicators, but... when u plug both of them at the same it all goes to hell. it doesnt show the values correctly since when i move the sensor all stays the same, and it only shows on 1 graph instead of both separately, it does identify both sensors by its serial number correctly but only 1 event led turns on, therefore i believe that the source of the problem is there or something around there. The program doesnt show me any errors or anything i can just tell its not working as intended.
Thx for your reply crossrulz,
João Pereira
10-02-2013 03:38 PM
Nothing immediately catches my eye. Granted, I haven't looked at it for long at all. The only thing I can think of at this moment is if the DLL can only handle a single device at a time. I would recommend contacting the manufacturer about this to get more details of how the DLL works.
10-02-2013 03:49 PM
Yeah i made a topic on their forum too, but no one replies there sadly, its also harder for you since u dont have the sensors to see for yourself! Anyway i decided to give it a go on this forum, and im glad i did it since at least someone here is trying to help me out 🙂
10-02-2013 08:34 PM
Did you try the Multiple Devices information on the phidgets page? It looks like they do not use the Event VIs for that.
I have not looked at any of the VIs, just the web page.
Lynn
10-04-2013 12:10 PM
Im still trying to figure things out, i asked a college to send me a labview program that he did some years ago and he managed to make it work, im curretly studying his block diagram and try to find some solution. I will post my finding here if i manage to find anything 🙂
10-07-2013 10:08 AM
Oh well his program his pretty similar to mine unfortunatly, i asked him if he had any problems like i have and how he solved them, currently waiting for his response, hope he knows, this is being too much time consuming already 😞
10-08-2013 10:36 AM
Phidget Support gave me the solution: