RDA with DAQ 6024E

Hi all!
We are having a school project, where we are trying out remote data aquisition. We are running a computer with a PCI 6024E DAQ-card and using RDA-server to access it from another computer on the network using LabVIEW.
The program itself works rather well, but we are concerned about one thing; if the LabVIEW-client looses connection with the RDA-server (faulty connection, PC crashing etc), the DAQ-card retains its output values. Is there a way to make the card return to some pre-defined default-settings when the RDA-server looses its connection? (In our case, turning off the pumps and valves so we don't flood the room =) )
Thanks,
Siggen
Edit: spelling...
Message Edited by Siggen on 12-01-2005 07:04 AM

Hi Siggen,
Are you using  TCP/IP for achieving RDA ?
If , Yes, You can do this.
Any loss of connection between client and server will result in and error being given by TCP/IP connection section of your program( If You are not using wait forever condition for time out)
Whenever this error comes, connect it a Boolean case condition
No error: Blank case
Error reported: Just set your DAQ card Analog and digital channels to default values programatically( do suitable AO and DO write to achieve this) and stop your server program(if needed)
Hope this helps
Regards
Dev

Similar Messages

  • HOW CAN I ACQUIRE AND DEPLOY DATA IN REAL TIME WITH DAQ 6024E?

    HI ENGINEER,
    I'M PROGRAMING AN APLICATION WHICH I NEED ACUIRING AND DEPLOYING AN ANALOGOUS SIGNAL IN REAL TIME.
    I HAVE:
    LabVIEW 7.0
    WINDOWS 2000
    DAQ CARD 6024E
    THE SIGNAL I WANT TO ACQUIRE IS 0-10 Vcd FROM A SENSOR, THE PROBLEM I HAVE, IS THAT I AM ACQUIERING THE DATA AND IT SEEM THAT THEY ARE UPDATING EACH SECOND, BUT I HAVE BEEN MOVING THE PARAMETERS SUCH AS TASK TIMING IN THE DAQ ASSISTANT VI AND NOTHING HAPPENS.
    CAN YOU TELL ME WHICH PARAMETERS I HAVE TO MOVE TO AQUIRE AND DEPLOY DATA IN REAL TIME

    Hi barron,
    If you want to see the data update quicker, you can decrease the value in the "Samples to Read" field of your DAQ Assistant. This number controls when data is transferred from the DAQ buffer to the PC. If the sampling frequency remains the same, but this field decreases, it means the buffered data will be returned more quickly.
    Hope this helps.
    Thanks,
    Lesley Y.

  • Help required with DAQ and waveform generation

    Hi,
    I'm using DAQ 6024E card for waveform acquisition using LabVIEW 8.2 version. I've also attached my vi for your reference.
    My next step is , I want to add another waveform to the acquired waveform, i.e. I mean to say if the acquired waveform is a sine wave with 60 Hz frequency and amplitude of 8V peak-to-peak, I want to finally display a wave which is 8V peak-to-peak with sinusoidally changing freuency.
    To be more clear...I want a sine wave with frequency =  60 Hz + 1*sin( 2*pie**t).
    As cane bveen seen in my vi, I can extract the phase and magnitude of the original acquired signal.
    Can anyone help me out with this...as I'm not able to figureout how should I proceed next.
    Looking forward to hear soon,
    Regards,
    Rohit
    Attachments:
    test_analog.vi ‏162 KB

    You'd probably want to use the DAQmx VI's instead of the Express VIs, when doing something more exotic. You can start by converting the existing Express VIs to code by opening their front panels and saving them as a VI.
    Regards,
    André
    Using whatever version of LV the customer requires. (LV5.1-LV2012) (www.carya.nl)

  • I have problem with daq..when it is connected with laptop it asks for all the options like sampling rate etc..It displays building VI and it stops..it is not processing further..cau u plz help to solve this problem

    i hav problem with daq initialisation...plz help to solve the above mentioned issue

    Hi muthu,
    we also have a problem: to less information…
    - What is connected to your laptop?
    - What is "it" in "it displays building VI"? Do you use the DAQ Assistent ExpressVI?
    - What means "plz"?
    And could you please put less text in the title of your message and more text (with relevant information) into the message body?
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Position for Programmer experience with DAQ and C++/Labview

    We are company located in the Bay Area of California and looking for
    a programmer experienced with programming (from scratch) DAQ boards for
    signal generation (sine/triangle/sawtooth) waveforms as well as DAQ
    digitizers, FFT, and data displaying.
    You should be
    able to program these cards using C++, but should have strong knowledge
    of labview as well. You may be asked to translate and migrate labview
    VI's to the C++ enviroment.
    Job applicants from
    the Bay Area, as well as abroad are welcome to apply.Those outside of
    the Bay Area can develop code at your own home office and must have
    C++/labview on a suitable computer for programming.
    Applicants should apply by sending an email to: jobs at intereasemedical dot com and indicate IE002 as the job position code.
    Do not post your resume as a reply to this forum post.
    Do include your resume in PDF or DOC format
    Do
    include your billing rate and if you are authorized to work in the U.S
    if located in the Bay Area. We do not provide H1B sponsorship. 
    Responses without the above information will not be considered.  
    Thank you! 

    Hello, I have much experience with DAQ, C++ and Labview. How to apply for this position?

  • Need help with daq problem

    Hi,
    I need to generate a clock with a period of 20 micro seconds, duty cycle of
    approx 20% and a data line as well as an address line all linked to the clock
    pulse.
    I have tried many different solutions, all using the Daq PCI-1200 but nothing
    seems to work correctly. Usually the system bombs and I have to do a manual
    reset to over come the problem.
    Any suggestions?
    Ken

    Hallo, Ken,
    Du meintest am 20.02.00 zum Thema Need help with daq problem:
    > I need to generate a clock with a period of 20 micro seconds, duty
    > cycle of approx 20% and a data line as well as an address line all
    > linked to the clock pulse.
    You'll need an external clock, expecially under Windows.
    Windows ticks with appr. 18 Hz, and the CPU tick isn't always available
    when Windows tasks multi.
    Viele Gruesse!
    Helmut

  • Pulse width modulation with daq mx

    Im trying to change the pulse width modulation on the fly with daq mx. All I have found so far are examples useing traditional DAQ, but not DaqMX. It would be a lot easier if I were to use DaqMX since I will be useing other daq applications in my program and would rather use mx.

    Does this help?
    Attachments:
    PWM-Counter_Output_Folder.zip ‏63 KB

  • RDA with SCXI-1127

    I have an PXI-1010 chassis with a NI-4060 DMM in slot 8 and a SCXI-1127 in
    slot 4. The SCXI is controled through the internal bus. I am wondering how
    I can control the SCXI-1127 with NI-SWITCH from a remote computer through
    RDA(Remote Device Access).

    Hello;
    To have a RDA process running, you need first to start the RDA server at the machine that has the hardware (go to Start->Programs->National Instruments->NI-DAQ->Remote Device Access Server). Then, create the virtual channels you want to monitor remotely.
    At the remote machine, go to MAX, right click at Devices and Interfaces, select create new, and select the RDA/Ethernet Device. After you configure the IP address to be the address of the remote machine, you should be able to access all the remote virtual channels.
    Hope this helps.
    Filipe

  • USB 6009 DAQ to use in Simulink at External mode with DAQ toolbox

    hi
    Currently I am using usb 6009 daq board for data acquisition in using simulink. I have created a model with taking analog input from data acquisition toolbox. Then when i want to run in external mode and try to connet to target, the following error is coming up:
    Could not execute target data map file 'untitled_rtwin_win32\untitled_targ_data_map' or it does not exist. Stop the target, delete the untitled executable, rebuild the code,and try again. Note that execution of external mode requires the build directory to be present...
    How can I solve this problem? For your info, I am using 32-bit matlab, version: 2012a
    For your info, a snapshot of the error is attached,
    Any help would be appreciated Thanks
    Attachments:
    Untitled.jpg ‏130 KB

    Hi Mahmudur,
    what does MathWorks say about this error message?
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Problem with DAQ in while loop and Graphs

    Hello,
    I'm new here so I apologize if I posted this on the wrong board  
    This is my "situation":
    I need to make a simple PID controller which takes information (process variable) from an outside source (a NI's DAC connected through the USB port ) which is accomplished using NI-DAQ as an input, and the PID's output goes to the second NI-DAQ which is also connected using DAC to an actuator which in my case regulates the air pressure. (VI attached)
    My problem is the following.
    Both of the NI-DAQ I placed using DAQ Assist, require to be in a while loop.
    -If I place them in separate loops, I have the problem of passing information between the Input NI-DAQ and the PID, and also between the PID and the Output NI-DAQ.
    -If I place them both in one big loop, an error occurs saying that the selected buffer size is too small (Error -200609).
    The timing settings for the DAQ's N samples, 100 samples to read at the rate of 1k (I also tried with Continuous samples and many different combinations of Samples to Read an Rate but without success).
    Should I wire them with the same dt(s)?
    The other thing I need to do (I'm also writing it here in order not to open new topics) is show the following 3 signals on a Graph (process variable (dynamic data type)(range 4mA - 20mA), PID output (double)(range 4mA - 20mA), and the Set Point (double)(range 0 to inf))
    Firstly, is it possible to show the first two on a scale from 0 to 100 without changing the PID's output which needs to be 4-20?
    Secondly, which graph should I use if I have different data types? (I tried the Waveform Chart, and succeeded in showing the first two; the third just messes everything up)
    I would also have to make a legend explaining which signal is which (I see that this is possible with the Mixed Signal Graph).
    I know this is probably too much to ask, but I'd be grateful for any help
    Thank you in advance
    Attachments:
    PID while.vi ‏100 KB

    My problem is the following. Both of the NI-DAQ I placed using DAQ Assist, require to be in a while loop.
    -If
    I place them in separate loops, I have the problem of passing
    information between the Input NI-DAQ and the PID, and also between the
    PID and the Output NI-DAQ.
    This is the best option---Use QUEUE or Functional global or something else to tranfer the data to and fro
    How  do I make that QUEUE or Functional global?
    -If I place them both in one big loop, an error occurs saying that the selected buffer size is too small (Error -200609).
    Have
    you tried increasing the buffer? Is the acquisition happening
    parallelly (means to say the first DAQ not wired (error terminal) to
    second DAQ)
    Well the buffer is, at least how I understood it, the option Number of Samples when in Continuous Samples mode. Concerning the parallel acquisition, do you mean I should wire the error ports of both of the DAQs?

  • How do I set a PFI to High on a 6602 Board with DAQ Traditional

    Dear All,
    I am using LabVIEW 8.5 on 32-bit Windows XP with an NI 6602 DAQ board. In the past I've used DAQmx but for compatability with older software I need to do a few simple things using Traditional DAQ, which I have never used. Specifically I would like to make a simple VI that sets PFI 5 to high when the user presses a button and then low when they press the button a second time. How do I set PFI 5 for output and then write true to it?
    Thanks,
    Ed
    Solved!
    Go to Solution.

    Dear All,
    Apparently its as simple as using the Write to Digital Line VI. However, the non obvious thing is the port width of the 6602 board is 32 not the default 8. Buried in the LabVIEW help files is a list of physical port widths that one must stumble upon. Like the bat cave. In the attached image of the super simple VI I've made the 16 refers to PFI 16. Good to know.
    Best,
    Ed
    Attachments:
    write_low.JPG ‏5 KB

  • How to load a custom waveform for use with DAQ voltage generation

    I would appreciate some advice on how to take a custom waveform (just a modified triangle wave with pauses at the tops and bottoms) and use that to control the voltage output from a DAQ. 
    Some background:  My intent is to use the waveform to control mirror scanning for a LADAR imaging application .  Because our DAQ (NI-6251) only has one clock, it cannot update the X and Y channel voltages independently. I'm using a triangle wave to control both axes, which works fine for the X direction.  However, to prevent the Y axis from incrementally steping up after every X pixel, I'd like to construct a waveform, similar to a step pyramid, so that the Y axis remains constant over the X sweep and only updates to the next row after all X pixels are collected.
    I assume I can make the desired plot in excel, and then read it in somehow - but this is where I start to get fuzzy.  Can any one point me to an example or tutorial on this?
    Some other questions:
    1. Do I needto worry about scaling? will my custom plot need to contain a specific number of points (perhaps the exact number of pixels in the image)?
    2. If I change the image dimensions, will I need to revise the control waveform in the Y axis?
    Thanks in advance,
    jimmy

    This thread didn't appear to go anywhere.  I am trying to do something similar and was looking for help.  I want to create a repeating output voltage wave based off the excel file attached(with times).  Is there a way to have my program match the output voltage and time with the table attached on a repeat and send that signal to the output?
    Thanks,
    T
    Attachments:
    Sig Gen.xlsx ‏34 KB

  • LV 8.21: strange behavior with DAQ tasks, parallel running VI's and shift registers

    Hello,
    I have made a VI using DAQmx vi's. The VI uses shift registers to store DAQ tasks and other (internal) information. I have implemented  several modes of operation (enum control with a case structure) like 'init', 'read AD', 'config AD' etc. If I use this multi mode VI in a single main VI everything work as expected. I have attached a jpg that shows one example where the DAQ VI is called from 2 parallel running while loops. One loop aquires the data (LOOP 1) while the other loop configures the aquisition task (LOOP 2). If I implement the same thing by putting LOOP2 in a different VI that runs seperately from the first VI I get an error message (200428):
    Possible reason(s):
    Measurements: Value passed to the Task/Channels In control is invalid.
    The value must refer to a valid task or valid virtual channels.
    Task Name: EasyDAQ_AD
    Of course, the second VI is started manually after the 1. VI has passed the initialization part. The error message is triggered from the 1. VI that executes the DAQ task. From my understanding of the LV execution system this seems like a bug to me. Does anyone have an idea what could go wrong here?
    klaus
    Attachments:
    problem.jpg ‏30 KB

    1. In general, this kind of technique is something I've been using successfully for years.  (Ben recently wrote up a very nice treatment of these "Action Engines" as a "Community Nugget.")  So I don't start by expecting this to be a bug in the LV execution system.
    2. Your description of the problem sounds almost backwards.  You say you manually start the 2nd vi ("Config AD") *after* running the 1st vi ("Read AD").  Seems like you'd need to do the Config 1st and then do the Read, right?   I kinda suspect you actually did it in the right order, but described it wrong.
    3. The next likely scenario is that the Config failed, but you didn't trap the error and were unaware of it.  Then it makes sense that the Read would also fail.
    4. A couple issues I regularly deal with in these DAQ Action Engines is internal error handling.  I often keep a shift register inside to store errors generated inside the Action Engine.  But it can get a little tricky doing sensible things with both the internal error and any other error being wired in as input.
    I said all that so I can say this: if you have complex nested case statements, or lots of different action cases to handle, double check that the task wire makes it from all the way from left shift register to right.  Sometimes they get lost if they go through a case statement, the output tunnel is set to "use default if unwired", and 1 or more of the cases don't wire the output.
    -Kevin P.

  • Sine.vi clicking when used for realtime output with DAQ Assisstant.

    What I'm Trying to Do: Stepped sine analysis. The program outputs from the DAQ device each of the frequencies entered into the array constant on the left (see VI) in order, taking a measurement of the magnitude of the signal input to the DAQ device for each frequency. The program only takes a measurment and moves onto the next frequency once it has decided that the magnitude of the input signal is stable. Stability is defined by the stablility upper and lower limits labelled in the lower double nested loop (see VI). The program measures the inputs magnitude 10 times as second, and calculates the difference between the current magnitude and the last magnitude each time. The difference must be within the stability limits 20 times in a row for a measurement to be saved and the frequency changed.
    The Problem: phase of sine.vi is resetting each time round the loop for some (not all) frequencies, even though it's set not to, causing clicks (number of clicks per seconds depends on block size). This doesn't happen if the lower nested for loop (the one that checks for stabliity, labelled on the attached VI) is removed. I thought that maybe the two DAQ Assistants (one for output and one for input) were interfering with eachother, but the problem occurs even when the DAQ Assistant Input is changed to a signal generator.
    Thanks in advance for any help,
    Christian
    Message Edited by crnbaker on 12-08-2009 05:00 AM
    Attachments:
    steppedsine_forum.vi ‏116 KB
    steppedsine.JPG ‏74 KB

    Hi Christian,
    I have been looking into this problem though I must warn you that since I don't not have your exact hardware configuration I can not exactly recreate your problem. I have also carried out some research to determine whether there are any known instances of this problem, and unfortunately there are not.
    The fact that the VI runs OK when the lower loop is deleted suggests to me a problem in this lower loop. Have you tried initialising the shift register. An uninitialised shift register could explain such inconsistent behavior. Symptomatic of this kind of problem would be the VI running correctly the first time you run it and then producing unexpected behavior subsequently.
    Best Regards,
    Christian Hartshorne
    Applications Engineer
    National Instruments

  • Inductive proximity sensor with DAQ

    Hi everyone
    I am planing to connect my inductive proximity sensor with NI-9215 DAQ but not sure will that thing work perofectly. Also i don't know how to connect my sensor with the BNC terminal.
    The sensor I am using is from automation direct AM9-05-1A with input volatage of 10-30 VDC and output voltage range from 0-5 VDC.
    I want DAQ to monitor my output signal from sensor.
     

    Hey lynn
    I am planing to use NI-9215 DAQ. Here is the link for that.
    http://sine.ni.com/nips/cds/view/p/lang/en/nid/208793.
    Since this kind of DAQ has BNC type of connectivity with it so I am not sure how to connect my sensor with this connector.
    Thanks

Maybe you are looking for

  • Web Photo Gallery - transparent

    Would someone be so kind in helping me set the 'Photoshop Flash web glallery 3' to transparent? I have added the following line to the html code but with no luck on IE6 or any other browsers. " myFlashObject.addParam("wmode", "transparent"); " Do I n

  • RePaint() bug or doing something wrong?

    Im writing an application which consist of a JFrame and two JPanels. They are laid out with a BoxLayout. The upper JPanel basiclly draws an image out. The lower JPanel is listening for mousemotionevents from the upper JPanel. Whenever a mousemotion e

  • On the contrary....

    Ive had the 1gb shuffle since a little before they hit the shelves and NEVER had a problem. Im perfectly happy with it!! Even thou the nano makes me wanna give up women completly I dont feel a need (urge) to upgrade.......yet. Thank you Apple and mr.

  • Disable vertical sync in fullscreen

    Hello, I have a game that runs in both windowed and fullscreen modes. I am able to switch dynamically between them while the game is running. When in windowed mode, the game runs very quickly. When in fullscreen, it runs significantly slower. When it

  • Hyperion Shared Services JAPI.

    Hi , I am looking for Shared Services JAPI to fetch couple of things, but when i am running the code i am getting the below errors. I guess i am not able to find proper JAR files to Import. Any suggestions on the below ?? Djavax.net.ssl.trustStore=C: