Using DAQ Assistant with a system remotely

I'm new to LabVIEW and National Instruments hardware and I am trying to use an instrument with LabVIEW using the DAQ Assistant. I use a PC with Windows Vista and I am connected via a network to a PXI-8108 controller in a PXI-1050 chasiss chassis. The instrument is just a thermocouple which I use to become familiar with everything. The thermocouple is connected and the connection SCB-68 block which is connected to a PXI-6221 multifunction data acquisition in the chassis. I am able to create a task in MAX under remote system and everything seems to work. What I want to do is to use this instrument in LabVIEW, and it seems that for this I need to use the DAQ Assistant, but when I do it says no supported device is found. I wonder if there is a way to get LabVIEW lean on the remote system to see the acquisition of data and the thermocouple.

All advice is appreciated.

Thank you

Hi all

Ben is correct.  RDA is no longer supported in DAQmx.  We have another way to use DAQmx with a remote system.  It is use DAQmx with an OPC server or simply by shared network variables.  There is a section of the base of knowledge here that should help you get started.  You should also take a look at the developer section area here.  The basic idea is that you can use a variable shared within labVIEW that is bound to a variable shared on your networked machine.  In this way, you can write and read values from a task DAQmx.  Look at the instructions in the above two items and let me know if you have any questions.

Kind regards

Paul C.

Tags: NI Software

Similar Questions

  • Control relay with Boolean switch using DAQ assistant 9481 - problems

    Sorry for what may be a stupid question but I'm stuck in quicksand.

    I use a relay module 9481 and have two external relays connected lines 0 and 1.

    When I create a digital output 0 line by line, I can run the test inside the express and activate the relay and turn off without problem.

    The generated block DAQ expressed expects a Boolean input of 1 d. (See attached photo).

    I want to connect a Boolean switch relay line disk 0. You can connect live not because the switch is Boolean and the input is Boolean 1 d - I'm a conversation in the pict.

    All plumbing lines display results, the relay never active.

    Any bunch would be greatly appreciated! Thank you

    Mr._Mechanical,

    Welcome to the Forums of switch OR this forum is generally intended for products OR-SWITCH [such as the NI PXI-25xx & NI SCXI-11xx], I think I know the answer to your question.

    I think the reason why it's a failure is the conversion you make generates a table of 16 Boolean [as the 'boolean to (0,1)' function creates a data I16 type] with your data more false data points 15.

    When you try to control the relay, he sees 16 datapoints are you Commander to a single port [channel] and so error out.

    My suggestion would be to use normal DAQmx digital output screw [with, he set up as ' Digital > single channel > single sample > Boolean (1 line) "] rather than the DAQ assistant.

    If you use the daq assistant, simply by using the function 'Building the table' will transform your simple Boolean data point in a Boolean array containing a single element.

    While the DAQ assistant is very easy to use, I recommend that you use the DAQ assistant, because this reduces the features and increases the execution time.

  • Outbreak of DAQmx N-sample and the Acquisition using DAQ Assistant

    Hello!

    I'm still fairly new to LabVIEW and I am working on all the points of connection. I would like to acquire a finite number of samples of analog data from a CompactDAQ system when a Boolean event of internal software (like a button of VI). I followed the examples to implement the acquisition with the DAQ Assistant, which works very well. I don't understand how I can use a software trigger, but I don't see how hardware triggers are configured in the trigger tab in the DAQ Assistant.

    I don't know that this should be very simple; Maybe I'm just ignorant of the configuration used for this sort of thing. Also, I could find soon I need to go beyond the DAQ Assistant for some of what I want to do, so any pointers to good references or tutorials on programming DAQmx are welcome.

    Thank you!

    Ryan

    You can simply put the acquisition within a value of the Boolean control change event.

  • Disadvantages of using DAQ Assistant

    I need 2 analog inputs continuously at 5-10 kHz from the sample and then use a combination of producer consumer and State Machine for the processing of data in real-time.

    In most parts of the example I've seen, people always use Subvi of data acquisition groups. Even though I know how to set up getting data using the Subvi, I like to use Express VI DAQ Assistant to perform data acquisition.

    Known disadvantages of the use of VI express in my case (see 1st line)?

    With the help of an express VI will slow down time of execution and, therefore, your time of iteration of loop due to the fresh general partner.  If you are concerned about the timing of your program, then you should strongly consider using the DAQmx API screws.

  • Using Migration Assistant with no display

    I got my MacBook mid-2010 (2.4 GHz, 4 GB RAM, OS X El Capitan) for 2 years.

    It splits into two somewhere within 2 years.

    The MacBook was still usable, but it had to be on a desk. The screen was completely separate from the base. It still worked.

    I woke up a few days ago to find that someone had cut the display cable holding the MacBook set and turn on the screen.

    I bought an early-2011 13 "MacBook Pro to replace the dead MacBook. (Yes, I buy old Mac because the news is so expensive).

    Old Mac has been saved semi regularly, so I have an old backup to use for the new Mac. The problem is that just before the death of the former Mac, I downloaded a bunch of stuff that has not been saved. I really want the files that have not been backed up on my new MBP.

    Can I use Migration Wizard with an Ethernet cable and transfer of data from one, or Migration Assistant must be running on old Mac as well?

    I tried to connect (I'm sure that the computer is still running, it doesn't simply have a display) on the old Mac, plug the backup drive and I hope to do a backup hourly, but Time Machine did not only.

    Any suggestions would be GREATLY appreciated.

    If you use Ethernet or a wireless network to transfer data, Yes. If you can not download the files and file-sharing has not been activated on the old Mac, you must either get fixed display or put its internal drive in a closed Chamber.

    (143074)

  • How to change the input range (DAQ assistant) with a digital command?

    Hello everyone

    I am currently working with the NI USB-6218 acquisition card.

    In order to acquire a signal, I would like to be able to choose the input range of the DAQ with a digital command Wizard (and not opening the window of DAQ assistant) (as 'number of sample' and section 'rate'...)

    Is this possible and if so, how?

    Thank you very much in advance for your answers!

    You can't with the DAQ Assistant so just click on and select "generate the Code of OR-DAQmx. You can edit the Subvi who performs the installation.

  • PID control using DAQ assistant

    Hi, I'm generating sine wave using acquirng and function generator cela DAQassitant in my computer using USB6211 DAQ and labview. I want to manipulate this singal granted using the labview PID command and use the result of PID to generate an analogue of singal feedback (similar to that of entry). But when I run the code, it gives me an error that the buffer size is less. How can I increase the buffer size so that I can generate the singal output continuously. I have attached the file .vi

    Thanks a ton.

    Krishna

    Hello Krishna,

    get rid of the DAQAssistents and use the plain DAQmx features!

    It is never a good idea to use the son of DDT in combination with points of constraint: what kind of data does it not provide your DAQAssistent and expect your PID?

  • Using DAQ Assistant to read voltage of 9205

    I am new Nock in it and I tried to read the voltage level of 9205 relating to 9172. I use it in XP mode virtual because windows 7 does not have labview 8,9. I installed the drivers for data acquisition.

    When I check the meter in automation and Explorer, it works very well which means it reads im DC voltage supply. When I created a VI facilitate data acquisition, I chose the right channel, the entry as analog voltage, the numeirc indicator shows it is-10 to 10. I noticed he did the same thing, even once the USB is disconnected, which means that the function helps daq was not save the data of the 9205.

    Can someone help me?

    Hi aaclabview,

    The way in which you have added the device to MAX makes the device act as a simulated instrument. Simulated instruments only generate sine wave data to test a piece of code without using any material. A simulated device has the icon yellow as shown in the screenshot you provided and are completely dissociated from any material, so add or remove the usb device has no effect.

    The problem with the help of Windows XP mode as mentioned in the above KB is the USB transfer must be enabled for the measurement and Automation Explorer inside the Virtual Machine detect the device. Using the unit in this way is not supported or recommended by National Instruments and can lead to instability and the latency of the errors in the acquisition of data even if a connection is established.

    It is a more sure bet to try and install LabVIEW and hardware drivers DAQ as described above on the real Windows 7 machine to try and run inside the XP mode.

  • Using the DAQ Assistant. can I create a VI that measures continuously during a fixed time?

    I use LabView to an NI USB-6009 enclosure, with two accelerometers like my analog input. When you use DAQ Assistant to build my VI I have not seen an option to measure continuously for a set amount of time. I need the test to run for two seconds and then stop.

    Is there anyway to specify the exact duration of each test?

    It's about as simple as you can get. Set the number of samples to be twice the sampling frequency (or whatever the multiplier that you want). That's it - a simple DAQ Assistant and nothing else on the block diagram. If you need it to be variable, just wire a control of the number of input samples.

  • How to use model predictive contive with continuous system

    NOR expensive.

    I use the Module control & Simulation, using predictive control.

    I would like to ask how to use this module with continuous system because I see that this module use with discrete system.

    I do any continuous system, so I want to use this module to simulate my system on the computer using LabVIEW.

    Thank you very much.

    See you soon,.

    Hello

    We have many examples in our example OR about the continuous Simulation and predictive control search tool.  You can get to the example by going to help > find examples.

    For MPC in the Finder of the example:

    Browse tab > Modules and Toolkits > control and Simulation > design check > MPC

    For the Simulation continues in the Finder of the example:

    Browse tab > Modules and Toolkits > control and Simulation > Simulation > linear continuous

    What examples / screw that you have been looking to put up your simulation?

  • DAQ Assistant don't update the buffer size to change the frequency

    Hi all

    I use DAQ Assistant inside a loop to write a signal in a module output best 9262 OR a cDAQ-9174.  I generate the signal with the express vi simulate Signal or with a simple loop using indexing.  The problem is that when I change the frequency, using the same sampling frequency, I have a different number of samples to write the cDAQ does not seem to update the size of the buffer, so no my signal gets written in.  The result is the first sine wave is nicely written, but each after that gradually get cut off on the edges.  I traced imput signal that I generate, so I know that it is generated with the right size and frequency of departure, what ever it is, still works, it is those more later in the loop who have the wrong size aparently buffer.  I tried to reset the cDAQ by adding a different DAQ Assistant at the end of the outer loop with the stop bit the true value, it makes me just the error "resource not available.

    Any ideas?

    I'm using LabVIEW Base development system new V12.0 32 bit.

    Thank you

    Matt

    Idea:

    Get rid of the DAQ assistant and use the DAQmx API.  The DAQ Assistant is there to support the limited functionality and base up a dirty experience and running quickly.  The report of the API offers more funcionallity and DAQmx property nodes allow greater flexibility.  DAQ Assistant is just too limited for your needs.  (you can't paint a masterpiece with crayons)

  • Recovery of the DAQ Assistant data acquired

    Hello

    I'm currently dealing with a continuous data using NOR cDAQ-9174 proposed acquisition and recording of analog input signals of a built-in three-measuring probe.

    I built a simple vi using DAQ Assistant to acquire data and write to an output .txt - rather than .tdms using Signal Express.

    On a day 10 cycle of data acquisition computer was mistakenly turned off - leaving the empty output .txt file.  LabView recovered the VI cut and I wonder if there is a way I can access the data that has been saved by the DAQ Assistant which can be saved in temporary files etc..

    I have no idea where that might be, since you cannot delve deeper down into the 'levels' of DAQ assistant as you would a sub - vi.

    Just as a note aside to apologize my stupidity - I realize that all the data at the end of the writing task is stupid and completely avoidable... but I worked for a date limit.

    Thanks in advance for any help you can provide.

    Dan

    The most likely answer is not, unfortunately. It looks like you were a table of data at every point of the construction and then measure he writes at the end. In this case, unless you have explicitly recorded data in a temporary file, it is located right in volatile memory, waiting for you to do something with it.

    I realize that this isn't what you want to hear, as it comes to the time of submission of draft / year...

    If you post your VI (preferably version LV2012 or below), I can have a look to see if there is anything obvious.

  • Task of naming of the DAQ Assistant

    I not bad by using DAQ Assistant to create a task to do what I want, but I can't understand how to give a meaningful name to the task.  The name of the task seems to be assigned arbitrarily to something like "Assistant_1 DAQ", which is not very useful for me.

    Please advise on how, in the "convert to NOR-DAQmxTask", procedure I can assign a different name to the task.  If not, is it possible to rename an existing task?

    Hi wildcatherder,

    There is already a way to set the name of the task in the present case, but it is not quite obvious and has a little whim. If you change the legend of VI DAQ Assistant express before selecting "Convert to the NOR-DAQmx task", he uses the legend that you specified as the name of the task in Max... and then he adds "_0" at the end:

    If you have a suggestion to improve this feature, perhaps you could post it to the Exchange of ideas, information Acquisition?

    Brad

  • Calendar and the problems of data collection with the DAQ Assistant

    Hello NOR Developer area,

    I am a Novice of LabVIEW and have seen how helpful you all can be, and if I come to ask for your help.

    I'm having some trouble with a VI I built that specifies an input voltage, a SCB - 100 connected to a PCI-6031E and converts this tension in a temperature displayed on a waveform table. The goal is to give a constant reading of the temperature and display it in a chart for as long that the VI is running (and to reset the chart the next time the tracks of VI).

    The problems I've encountered currently are:

    -After a few minutes of the VI running, I get an error message 200279: tried to read samples that are no longer available. The requested sample was already available, but has since been replaced. (to the DAQ Assistant express VI).

    -I don't know how to change my chart so that the minimum value X is both during which the VI was launched and have the maximum X value increases with each iteration of the loop. Currently, I have the VI get the time system and contributing to the property node X scale. This worked for the graph of the voltage, but not for the temperature chart

    I appreciate those of you who took the time to read my post.

    Thank you all for your help.

    Sincerely,

    Ethan A. Klein

    SB candidate in Chemistry & Physics

    Massachusetts Institute of Technology

    Class of 2015

    PS I enclose my VI to give you a better understanding of my current situation.

    E A Klein wrote:

    Thanks for writing.

    What property node is talking?
    I do not understand that many different data types. How can I go on the treatment of all the data?

    (Did you mean I should wire 'blue' data for mathematical functions rather than using the node property tension?)

    Sincerely,

    In fact, one of the nodes property.  I mean specifically the tension property node.  But in reviewing, I noticed the other nodes in property for the chart.  Just set auto-scaling to the X scale and that should take care of two of the nodes property (right click on the graph, X scale-> AutoScale X Scale).  I also recommend placing your mathematical functions in a Subvi to make things easier to read.  Attached, that's what I think you're after.

    I hope that these small tweaks will speed things up enough to avoid your error.  If this isn't the case, then we should begin to look at the design of producer/consumer model or take readings at the same time.  It might also be worth looking away the DAQ Assistant and DAQmx real screws.  But one step at a time.

  • Configuration of 1120D SCXI using the DAQ assistant

    Hello

    I tried to set up a channel on a module SCXI in 1120 D, as well as the rest of the SCXI system, using the DAQ assistant, but ran into a problem related to the range of the signal.

    According to this, http://sine.ni.com/nips/cds/view/p/lang/en/nid/1658, the maximum voltage is located between 10v - 10v, but when I tried to configure a channel with a range of 0v - 10v, it displays an error indicating that the range of the signal was invalid and that the available range is - 0.005v - 0.005v, could someone suggest what I'm missing or what I need to do to set up?

    Thank you

    Chris

    Hi Chris,

    Thank you for your message.

    Can I ask that you have the software gain set on the device? The table on page A-5 manual found here your device that the gain settings must be for some input range.

    I imagine you have the gain set to 100 while the available range is ±50 mV. For - 10V - 10V, please adjust the gain to 0.5.

    Thank you very much

Maybe you are looking for