LAVA Forums Buy cool LAVA gear Forums RSS Feed

Welcome Guest ( Log In | Register )

> Related links

Visit our LabVIEW Wiki Apple article


Tags
(This content has not been tagged yet)
 
Reply to this topic Start new topic
> DAQmx Base for OS X, How do I get a list of USB devices?
elyness
post Jan 25 2005, 08:53 PM
Post #1


2 more posts to go!


Member
Posts: 8
Joined: 21-January 05
Member No.: 1422
LV:7.1.1
United States


Am I the only LabVIEW for OS X user out there?

I just got my USB 9161 and 9211 thermocouple device working with the newly released version of DAQmx Base for OS X. I am able to read temperatures from LabVIEW but the DAQmx Physical Channel control does not automatically populate with the ID of my USB device. (Note that the phyiscal channel control does contain the PCI devices.) If I type in the name, Dev1/ai0 for instance, it works.

But so far, I can't find any way to query for attached devices without just trying to read them and checking for an error. This isn't particularly good because my software is running on several machines that all have slightly different hardware configurations. If I don't get an error reading an analog input on dev1, I only know that the device contains an analog input but I still don't know the device type. Is it a thermocouple device or a generic analog input device?

Anyone else run into this?


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Ad
post Jan 25 2005, 08:53 PM
Post #















Tags
(This content has not been tagged yet)
Go to the top of the page
Quote Post
biographie
post Feb 17 2005, 10:42 PM
Post #2


One hit wonder!


Member
Posts: 1
Joined: 16-February 05
Member No.: 1621
LV:7.1.1
United States


I can't answer your DAQ question, but rest assure there are others making the move to OS X. I am coming from a windows environment, and have been comparing what windows has vs. what mac has. One thing I found out the hard way is that the 3D graph controls are actually active-x, so no mac support. BIG BUMMER!!! They should have controls like that native; not active-X.


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
elyness
post Feb 22 2005, 02:04 PM
Post #3


2 more posts to go!


Member
Posts: 8
Joined: 21-January 05
Member No.: 1422
LV:7.1.1
United States


I'm glad to hear there are more OS X LabVIEW developers. Most of my projects are in Windows but I have one customer that uses OS X and I'm personally a big fan of it. We could really use the 3-D picture control but the biggest obstable for us that there's no image acquisition or processing supported. I could do without the acquisition part, if they could just give us the analysis vi's that would be huge.

DAQmx Base, even in its infantcy has made a big difference for us. It's got a long way to go but it's a good start. We tried three different methods for reading thermocouples over serial connections and all of them were more flakey than daqmx base.


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
rkerns
post Apr 29 2005, 01:33 PM
Post #4


I want a LabVIEW icon under my name!


Member
Posts: 3
Joined: 15-March 05
Member No.: 1827
LV:7.1.1
United States


QUOTE (elyness @ Jan 25 2005, 04:53 PM)
Am I the only LabVIEW for OS X user out there?

I just got my USB 9161 and 9211 thermocouple device working with the newly released version of DAQmx Base for OS X.  I am able to read temperatures from LabVIEW but the DAQmx Physical Channel control does not automatically populate with the ID of my USB device.  (Note that the phyiscal channel control does contain the PCI devices.) If I type in the name, Dev1/ai0 for instance, it works. 

But so far, I can't find any way to query for attached devices without just trying to read them and checking for an error.  This isn't particularly good because my software is running on several machines that all have slightly different hardware configurations.  If I don't get an error reading an analog input on dev1, I only know that the device contains an analog input but I still don't know the device type. Is it a thermocouple device or a generic analog input device?

Anyone else run into this?
*



I also have recently started using a USB-9211 on OSX. After much seraching of ni.com I cam across this http://digital.ni.com/public.nsf/allkb/770...6256F79007E4B5A which mentions that you can only browse tasks created with MAX (which of course is of no use) so for the time being we are limited to typing in task names


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
elyness
post Apr 29 2005, 02:06 PM
Post #5


2 more posts to go!


Member
Posts: 8
Joined: 21-January 05
Member No.: 1422
LV:7.1.1
United States


I have run into some additional problems too. If I create a task with say 3 input channels, then close and clear the task, then create a new task more than 3 input channels, LabVIEW hangs. It's not a labview crash because it is still running. It seems to be in an infinite loop somewhere deep in the DAQmx Base hierarchy.

Also, there is a VI in the DAQmx Base hierarchy that has the exact same name as a VI used when you save a .jpg file. In order to have both DAQmx Base and the Write JPEG File.vi in the same program, you must rename a vi in DAQmx Base blink.gif .




QUOTE (rkerns @ Apr 29 2005, 09:33 AM)
I also have recently started using a USB-9211 on OSX. After much seraching of ni.com I cam across this http://digital.ni.com/public.nsf/allkb/770...6256F79007E4B5A which mentions that you can only browse tasks created with MAX (which of course is of no use) so for the time being we are limited to typing in task names
*


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post

Reply to this topicStart new topic

 




Time is now: 1st December 2008 - 09:38 PM