Using Two DAQ, is it possible?
Hi you guys! First of all, my name is Carlos and i´m a student of Mechanical Engineering. At the time, we dispose (in our university) from several test banks that are in poor conditions, so I been told to repair one of them. In`s a Refrigeration Test Bank (I attached a photo), it´s out of any operation so I have to put it operative again at first, then I have to replace all the analog indicators you see at the photo and become them digital. I`ve been doing some research on the web and I found the NI-6008 (This DAQ has been used in several applications in the University), I saw it can be connected with the LABVIEW SignalExpress, and it´d would be easy (in a manner of speak) in my case because all I have to do is display and register the values (temperature and pressure) from the bank and the program allows me that.
The problem surges when I see that NI-USB 6008 has 8 Analog Inputs, and I need 10 AI, so I´d have to buy two of them (Because is the cheapest one and I don´t have too much money) and I would like to know if there is any problem about connecting both DAQ at the same time? Is it possible to connect them with the Labview SignalExpress?
I hope to get some replies so I can solve my problem. Thanks for your help
Best regards
Attachments:
IMG00394-20101110-0956.jpg 369 KB
You can certainly use two 6008s at once. And SignalExpress will handle them, as well. If you have no programming experience, SignalExpress can get you started. If you want specialized analysis or display, you can use SignalExpress to generate code to LabVIEW to get you started on an application. Note that this code will be the data acquisition and analysis part of your code. You will still need to write the GUI properly using event structures. If you do this, post on these forums for some tips to get you going in the right direction (e.g. use producer/consumer and state machine architectures).
This account is no longer active. Contact ShadesOfGray for current posts and information.
Similar Messages
-
The two DAQ cards are NI PCI-6070E & NI PCI-6052E. The Labview I'm using is labview 7 Express and the Window system is Window XP. I'm using NI SCXI-1000 chasis and SCXI-1102 & 1102B two modules plus a feedthrough SCXI-1180. 1102 is connected through SCXI-1349 cable to DAQ card 6052E while 1102B is connected through SCXI-1349 cable to DAQ card 6070E. SCXI-1180 is connected to 6070E through SCXI-1349 adaptor on the back of 1102B.
Sarah, thank you for replying my question. It seems that I'm making progress everyday (smile). I'm able to run the test using both daq cards in my code now. But as I'm moving forward, I'm getting new questions too. How do I use one STOP button to control both tasks and how can I save data into one single file?
I attached my code here hoping you can get the specifics on my application by looking at the code. Thanks very much!
Thanks.
Attachments:
DAQmx_Task_Example_plus_voltage_2.vi 416 KB -
I am trying to run 2 applications which access different cards at the same time. One is doing a continuous analog input, the other is doing a finite
analog acquisition. In that scenario, I am getting messages that either say "Acquisition already in progress" or "Unable to access Nidaq, load the
driver".
I tried making a simple program that did constant reads and running them against separate cards at the same time. That worked without error, but when I shut them down and went back to the original app., it gives me "transfer is already in progress for the specified resource, or the operation is not allowed because the device is in the process of performing
transfers, possibly with differn"
When I strip the programs down to the essentials,
it seems to run fine. However, occasionally,shutting down one program while the other is running causes my machine to reboot.
The problem with the full-blown applications is intermittant on my machine, fairly constant on the lab machine. On the lab machine, the problem is
immediately apparent if the asynch program is started before the synch program. If they are started in the reverse order, they run for a while before crashing.
These are both stable programs that have been running on separate machines for about 4 years in one incarnation or another. For now, I am going to go
back to that solution, expensive and inconvenient as it may be. Without the ability to get inside National's drivers, I am pretty much stuck on
debugging, and I can't give you a tight example that consistantly blows up.
FYI, I am running VB6.0, ComponentWorks 3.0, Nidaq 6.9.2. Attached are some files showing the calls and the order in which
they are made. Unfortuneatly, these files work.
Attachments:
Examples.zip 5 KBHello;
The best way to handle multiple applications acquiring data from the same DAQ device is to make both asynchronous. Once there is a synchronous acquisition, the execution pointer can get stuck inside one of the analog input read functions, and when the other application tries to get the control of the execution pointer, that message shows.
Hope this helps.
Filipe A.
Applications Engineer
National Instruments -
Can I use my DAQ on two different computers?
Hi there.
Sorry if this might seem like a stupid question but I'm trying to save money lol. I have two test stations, each station has it's own computer and power supply. The power supply powers a certain device and the computer communicates with it via an USB to RS422 serial converter. I am using the 2 analog outputs on my NI-USB 6008/6009 DAQ to control the 2 power supplies. AO 0 to control the power supply on station #1 and A0 1 to control the power supply on station #2. I can control these 2 power supplies just fine with one computer connected to my DAQ. But i need each computer to be running tests independently. I only have 1 DAQ but 2 computers, is there way to use this DAQ on both computers???
thanks for any help!
Don't think twice.
Solved!
Go to Solution.No. Because there is no way you can take one USB-DAQ and plug it into two computers at the same time.
You would probably be better off having one PC that communicates with the USB-DAQ and have your application on one computer talk to the other computer to pass commands and get back data from the USB-DAQ, probably by way of TCP/IP.
I would actually make an application that only handled the USB-DAQ operation. Then have the program that runs on each computer be the same and talk to the USB-DAQ application which would act like a TCP/IP server. The program that is on one PC would call the IP address of the other PC. The program that is on the same PC as your USB-DAQ server would just call the local host to establish communication. -
Is it possible to use two speakers with one Apple Tv ?
Hello everyone,
I bought an Apple Tv and I have one apple express with a Bose speaker and a Bose Link Air speaker.
I would like to see a movie using the two speakers but every time that I try to select two speakers in the airplay Apple Tv menu, it automatically deselect the other speaker.
Is it possible to use two speakers in the same time ? ( I know it's possible with Itunes)
Thank,
Ps: I have the last Apple TVNo, that is not possible with Apple TV. You can set one 'output' via Apple TV, and 'stream' to multiple speakers from iTunes or via the remote app.
-
It is possible to use two different accounts with a single Windows PC?
My wife and I use two personal iPhone 5, with two different appleID. At home we only have a windows 7 PC connected via iCloud with my iPhone 5 and my iPad (with the same appleID). I wish I could also connected the iPhone 5 to my wife, but i can't do it! It is possible? If it is, how should I do? I installed the program iCloud accepts only one appleID...
Thank you in advance who can help me!Setup 2 user accounts on your PC, one for your wife and one for you. Enter the relevant Apple ID into each user user account.
-
Mac App Store Gift Cards is possible use two or more cards for buying same stuff?
Mac App Store Gift Cards is possible use two or more cards for buying same stuff? i form finland if changes things. and i ask becouse i cannot get credit card.
But i foudn shop which sells at least these gift cards.Two or more cards for the same purchase, I'm not certain. Buy a another gift card, redeem that to add to your balance then make a purchase.
-
Is it possible to use two diff forms in same jsp/jsf page?
Hi all,
My requirement is to submit the form based on selection of radio button.
since half part needs to be jsp based which is not using any tags etc.
But i am trying to use some jsf based component which requires to be inside <f:view><h:form> of
<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
i.e. some <c:comboBox>
</h:form> </f:view>
Now earlier i was submitting the form as
<form action="/techstacks-v2_1/reportAction.do" method="post" name=doSearch id='doSearch'>
But now i found, in order to use combo box component which is entirely jsf based i need to use <f:view><h:form> which is kind of taking over the previous form submission mechiansm.
I am trying to keep them separate as two differnt forms.
one entirely jsp based and other as jsf based.
Now my question is can i use such way of doing so or is there any better way of implementing so.
My friend suggested that i can pass the value of jsf based form in hidden form to a input box of form to be submitted finally instead of submitteing two diff forms.
but in that case also i ahev to use two forms in a single jsp/jsf page.
suggest me something which can really work out.
thanks
vijendraYou can use as many forms as you want as long as you don't nest forms. The HTML spec probibits that.
-
I want to create new apple id, but dont want to loose existing data's downloaded using existing id.I still want to use two apple id
No. All apps purchased are forever linked to the original ID and there is no way to transfer them.
-
Can anyone tell me the easiest way to do analog input data acquisition
(in LabVIEW) using two PCMCIA (DAQCard-AI-16E-4) cards? There is no
RTSI bus connection between the cards... as would typically be used to
synchronize the scan/trigger.[posted and mailed]
[email protected] (Joshua Marshall) wrote in
<[email protected]>:
>Can anyone tell me the easiest way to do analog input data acquisition
>(in LabVIEW) using two PCMCIA (DAQCard-AI-16E-4) cards? There is no
>RTSI bus connection between the cards... as would typically be used to
>synchronize the scan/trigger.
>
I'm not sure about these particular cards and whether it applies to them
(but I think it does on any E-series card at least), but an alternative
would be to use a trigger signal in one channel on each card and use this
trigger channel to start your acquisition. Have a look at the AI Read VI;
one of the inputs is CONDITIONAL RETRIEVAL. This allows the acquisition to
commence when the signal is triggered through one of yo
ur channels. Set up
two parallel processes (one for each card) and have two conditional
acquisitions. Combine the data in some fashion (depending on what you're
after).
This would be the simplest, but there are probably other more efficient
ways of doing it.
cheers, Alex.
Alexander C. Le Dain, PhD
ICON Technologies Pty Ltd
http://www.icon-tech.com.au -
Css is it possible to use two VIPs with one source group?
I have separate VIPs defined for balancing dns and radius. Both services are being balanced behind the CSS between two servers running both services. Is there a way, using source groups, to have the outbound dns udp lookups go out the associated dns VIP and a client's returning radius udp traffic sourced from the associated radius VIP?
Just a note for clarity: both services defined for dns and radius have the same ip addresses. I can only define one of the services(i.e. dns) in a single source group which automatically associates the other service (i.e. radius) to that group.If I understand your question correctly, you want to have the same real server respond with a different source address based on with VIP was used to get to it.
You can only put on instance of the server's ip address into a source group. That is you can't add the service name used for one rule into one group, and the service used in the other rule into another group, since the CSS only looks at the source address when it is determining to use the source group based on the service named in it. In order to have the same server use two different source groups, you would need ACL clause with the sourcegroup option, like
permit any 10.0.0.1 eq 53 dest any sourcegroup
permit any 10.0.0.1 dest any sourcegroup
Michael -
<< (My first posting)
I use two E series PCI Cards, connected by RTSI. I'd like to stream the data
from both cards to a binary file and to add a header to it.
I also need to somehow read (plot) the stored data, this with another VI.
The whole should be then integrated into an existing program, that used just
one acquisition card.
Till now I have tried to combine "Two E-series Shared ScanClk.vi" and "High
Speed Data Logger.vi" into another VI, and I have tried to read the stored
data with the "High Speed Data Reader.vi". The problem is that I fight with
one error after another, what prevents me from going further.
I use LabView 6.1, under Windows 2K.
Has somebody by chance already done something similar and would agree to
share with me their experience? TIA for any suggestion.
Regards,
Victor Manta
>>
"Ben" wrote in message
news:[email protected]...
> Hi Victor,
>
> I have done a lot of similar work.
>
> Exactly what did you try and what specific errors did you encounter?
>
> What you are trying is do-able provided the hardware you have suuports
> it.
>
> Please post (both here and to the DAQ group)
> the details of the hardware you are using,
> versions of software being used,
> Examples that you are using,
> error codes that occured,
> posibly post example code showing the problem.
>
> Ben
Hi Ben,
I use two PCI-MIO-16E-1 cards, connected by RTSI. I'd like to stream the
data from both cards in real time to a binary file, after having added a
header to it.
For tests, on the channel 0 of each card is applied the same square wave,
100 Hz.
Yes, the hardware support RTSI. I use LabView 6.1.
Till now I have:
1. Combined the "Two E-series Shared ScanClk.vi" and the "High
Speed Data Logger.vi" into a DAQ VI. To do this, I have "doubled" and
adapted the "High Speed Data Logger.vi". For testing purposes the data are
stored in two files, always the same ones (the old ones being overwritten
after each acquisition).
2. "Doubled" and adapted "High Speed Data Reader.vi" into another VI, for
reading from both files, mentioned earlier.
What already works:
- The headers for both files are correctly stored (VI point 1.)
- The acquired data from the first card (device 1) are correctly stored (VI
point 1.)
- The VI (point 2.) that reads both files and displays the results works
What doesn't work:
- The acquired data from the second card aren't stored at all (VI point 1.)
- An error message says: "Error -10608 occurred at AI Buffer Read. Possible
reason: NI-DAQ LV: No transfer is in progress for the specified resource."
I think that I understand this message, but I don't know how to continue.
The DAQ VI can be downloaded from (please click the link, then the link on
that page; about 100K, zipped):
http://www.swissheartnet.unibe.ch/labview.htm
Thanks a lot in advance.
Regards,
Victor Manta
PS. I don't know which DAQ group you mean."Filipe A." wrote in message
news:[email protected]...
> Victor;
>
> You can definitely accomplish that task with the DAQ boards you have
> and Labview.
>
> It would be good if you could be more specific as far as what type of
> errors you are seeing and how you are integrating both VIs.
>
> Regards
> Filipe A.
> Applications Engineer
> National Instruments
Maybe Mr. Filipe A. could help me? Please see below, and TIA.
Regards,
Victor Manta
"Victor Manta" wrote in message
news:[email protected]...
> << (My first posting)
> I use two E series PCI Cards, connected by RTSI. I'd like to stream the
data
> from both cards to a binary file and to add a header to it.
>
> I also need to somehow read (plot) the stored data, this with another VI.
>
> The whole should be then integrated into an existing program, that used
just
> one acquisition card.
>
> Till now I have tried to combine "Two E-series Shared ScanClk.vi" and
"High
> Speed Data Logger.vi" into another VI, and I have tried to read the stored
> data with the "High Speed Data Reader.vi". The problem is that I fight
with
> one error after another, what prevents me from going further.
>
> I use LabView 6.1, under Windows 2K.
>
> Has somebody by chance already done something similar and would agree to
> share with me their experience? TIA for any suggestion.
>
> Regards,
> Victor Manta
> >>
>
> "Ben" wrote in message
> news:[email protected]...
> > Hi Victor,
> >
> > I have done a lot of similar work.
> >
> > Exactly what did you try and what specific errors did you encounter?
> >
> > What you are trying is do-able provided the hardware you have suuports
> > it.
> >
> > Please post (both here and to the DAQ group)
> > the details of the hardware you are using,
> > versions of software being used,
> > Examples that you are using,
> > error codes that occured,
> > posibly post example code showing the problem.
> >
> > Ben
>
> Hi Ben,
>
> I use two PCI-MIO-16E-1 cards, connected by RTSI. I'd like to stream the
> data from both cards in real time to a binary file, after having added a
> header to it.
>
> For tests, on the channel 0 of each card is applied the same square wave,
> 100 Hz.
>
> Yes, the hardware support RTSI. I use LabView 6.1.
>
> Till now I have:
>
> 1. Combined the "Two E-series Shared ScanClk.vi" and the "High
> Speed Data Logger.vi" into a DAQ VI. To do this, I have "doubled" and
> adapted the "High Speed Data Logger.vi". For testing purposes the data are
> stored in two files, always the same ones (the old ones being overwritten
> after each acquisition).
>
> 2. "Doubled" and adapted "High Speed Data Reader.vi" into another VI, for
> reading from both files, mentioned earlier.
>
> What already works:
>
> - The headers for both files are correctly stored (VI point 1.)
> - The acquired data from the first card (device 1) are correctly stored
(VI
> point 1.)
> - The VI (point 2.) that reads both files and displays the results works
>
> What doesn't work:
>
> - The acquired data from the second card aren't stored at all (VI point
1.)
> - An error message says: "Error -10608 occurred at AI Buffer Read.
Possible
> reason: NI-DAQ LV: No transfer is in progress for the specified resource."
>
> I think that I understand this message, but I don't know how to continue.
>
> The DAQ VI can be downloaded from (please click the link, then the link on
> that page; about 100K, zipped):
>
> http://www.swissheartnet.unibe.ch/labview.htm
>
> Thanks a lot in advance.
>
> Regards,
>
> Victor Manta
>
> PS. I don't know which DAQ group you mean. -
Q: Acquiring data using two E series devices connected by RTSI and streaming data to disk
I use two E series PCI Cards, connected by RTSI. I'd like to stream the data
from both cards to a binary file and to add a header to it.
I also need to somehow read (plot) the stored data, this with another VI.
The whole should be then integrated into an existing program, that used just
one acquisition card.
Till now I have tried to combine "Two E-series Shared ScanClk.vi" and "High
Speed Data Logger.vi" into another VI, and I have tried to read the stored
data with the "High Speed Data Reader.vi". The problem is that I fight with
one error after another, what prevents me from going further.
I use LabView 6.1, under Windows 2K.
Has somebody by chance already done something simi
lar and would agree to
share with me their experience? TIA for any suggestion.
Regards,
Victor Manta<< (My first posting)
I use two E series PCI Cards, connected by RTSI. I'd like to stream the data
from both cards to a binary file and to add a header to it.
I also need to somehow read (plot) the stored data, this with another VI.
The whole should be then integrated into an existing program, that used just
one acquisition card.
Till now I have tried to combine "Two E-series Shared ScanClk.vi" and "High
Speed Data Logger.vi" into another VI, and I have tried to read the stored
data with the "High Speed Data Reader.vi". The problem is that I fight with
one error after another, what prevents me from going further.
I use LabView 6.1, under Windows 2K.
Has somebody by chance already done something similar and would agree to
share with me their experience? TIA for any suggestion.
Regards,
Victor Manta
>>
"Ben" wrote in message
news:[email protected]...
> Hi Victor,
>
> I have done a lot of similar work.
>
> Exactly what did you try and what specific errors did you encounter?
>
> What you are trying is do-able provided the hardware you have suuports
> it.
>
> Please post (both here and to the DAQ group)
> the details of the hardware you are using,
> versions of software being used,
> Examples that you are using,
> error codes that occured,
> posibly post example code showing the problem.
>
> Ben
Hi Ben,
I use two PCI-MIO-16E-1 cards, connected by RTSI. I'd like to stream the
data from both cards in real time to a binary file, after having added a
header to it.
For tests, on the channel 0 of each card is applied the same square wave,
100 Hz.
Yes, the hardware support RTSI. I use LabView 6.1.
Till now I have:
1. Combined the "Two E-series Shared ScanClk.vi" and the "High
Speed Data Logger.vi" into a DAQ VI. To do this, I have "doubled" and
adapted the "High Speed Data Logger.vi". For testing purposes the data are
stored in two files, always the same ones (the old ones being overwritten
after each acquisition).
2. "Doubled" and adapted "High Speed Data Reader.vi" into another VI, for
reading from both files, mentioned earlier.
What already works:
- The headers for both files are correctly stored (VI point 1.)
- The acquired data from the first card (device 1) are correctly stored (VI
point 1.)
- The VI (point 2.) that reads both files and displays the results works
What doesn't work:
- The acquired data from the second card aren't stored at all (VI point 1.)
- An error message says: "Error -10608 occurred at AI Buffer Read. Possible
reason: NI-DAQ LV: No transfer is in progress for the specified resource."
I think that I understand this message, but I don't know how to continue.
The DAQ VI can be downloaded from (please click the link, then the link on
that page; about 100K, zipped):
http://www.swissheartnet.unibe.ch/labview.htm
Thanks a lot in advance.
Regards,
Victor Manta
PS. I don't know which DAQ group you mean. -
hi
I just got an iPhone at work and I'm wondering if I can load apps on it using two different Apple ID accounts? I have my own Apple account which I can use on my own iOS devices, but I also need to load up some corporate apps but would like to do that using my work Apple ID.
Is this possible to do?
thanksIf you're downloading them on the device itself, sign in and out of Apple IDs as needed. An application can only be updated by logging in with the Apple ID it's associated with.
If you're downloading them from a computer, ensure all the applications are in one iTunes library and that it doesn't contain protected content from more than five Apple IDs.
(87276) -
Use two different printer services in one web template?
Hi!
Is it possible to use two different help services for printing in the same web template (for the same table item)?
Print1:
<param name="HELP_SERVICE" value="HELP_SERVICE_PRINT"/>
<param name="HELP_SERVICE_CLASS" value="ZCL_RSR_XLS_HELP_WINDOW_PRINT"/>
Print 2:
<param name="HELP_SERVICE" value="ZPRINTING"/>
<param name="HELP_SERVICE_CLASS" value="ZBW_PRINT_HELP_SERVICE"/>
I was thinking that you maybe could change the param name values for the "Help_service" and the "help_service_class" at runtime using the properties for the table item, so that you could choose which one to use, but I havne't been able to do that so far.
Does anyone have an idea?This is not a problem. Just put the print service for the print to excel on an object other than the table web item. As long as these print services exist on any web item, you should be able to invoke them. I've tested this with putting the "Print with Excel" service on the Navigation Block Web Item and the other print service on the table web item. Hope that helps!
Prakash
Maybe you are looking for
-
I can't call or text a certain person and he can't call or text me
We both are Verizon customers and both of us have the iPhone 4s. We were able to call and text each other for 3 weeks with no issues and then all of a sudden, out of nowhere, we stopped receiving each others calls and texts and even voice mails. It h
-
I can't delete a partition from my Hard Drive using Boot Camp!!??!!
Hello. Earlier today I installed Windows 8 to my iMac using boot camp and creating a partition. I've decided I don't like it, and want to remove it. I cannot delete the partition!! Help!!
-
I have a lengthy Word document that has portrait and landscape oriented sections. The landscape sections have page numbering set up so that on screen it appears on the left, but in the printed book will have the page numbers in the same place as the
-
I recently downloaded the most recent version of snow leopard to my imac. Now I can't open any pdf files. I just get a dark gray screen when I try to pull one up. Has anyone else had this problem? Please advise.
-
Is there a magic wand tool in photoshop CC 2014?
Is there a magic wand tool in photoshop CC 2014? I am looking for a complete method of removing a white background transparent.