PDA DAQ channels swapping

Hi everyone.
I'm experiencing problems with a PDA based app collecting analog data from 6 channels. All advice appreciated.
Hardware is a Juniper Allegro CX, running Windows CE.net 4.20, Intel ARM X-scale processor, 128Mb RAM, NI DAQCard 6024E in expansion pod.
Development platform is LabVIEW 8.6 with PDA module.
DAQmx base has 6 channel continuous acquisition set up, channels 0 to 5, 100Hz scan rate, 1000Hz conversion rate, as task 'readg' (see code)
Acquisition seems to be running perfectly well for a while, then channels switch around. e.g. all channels grounded, except for channel 2 with 0.1HZ sine input from a sig gen and channel 3 hardwired to 3V. After 30 seconds or so the channels all move around by 2 positions, Ch2 readings move to Ch0, Ch 3 to Ch1 etc. After another 30 seconds they move again by 2 steps, and after another 30 seconds or so they move two further steps (so they are back where they started). This continues until app is stopped.
This thread suggests something similar, but doesn't run to conclusion so no solution there... http://forums.ni.com/ni/board/message?board.id=250&message.id=12209&query.id=3315#M12209
(side issue - can anyone tell me how to post a thread in a neater way than this?)
Struggling here. 100Hz per channel is fastest required by my app, it's needs to run for up to 15 minutes, and channels need to stay put!
I'm posting code from a calibration routine that's doing this. The routine is part of a larger application. Upper loop is handling user interface and sitting in part 2 in the idle mode, so shouldn't be interfereing with anything.
Thanks for any assistance you can offer.
Bandit.
Attachments:
Do cal.vi ‏41 KB

Hi All
Sorry about the delay in getting back to you, I was out of office for a while. In the meantime though, a colleague of mine has been trying to replicate the issue using a PDA we have here at the office. Unfortunately though, whenever he tried taking measurements, he was unable to see any evidence of channels swapping in this manner.
Thanks a lot for posting, Mike. Funnily enough, Sacha still remembers that problem and I spoke to him about it as we sit nearby in the office. He described to me the way that your SCXI channels were swapping due to a nearby radar system and it does sound very similar to this issue. Bandit, could you be experiencing similar interference in your location? Are there any RF sources in your area? Could you try taking the PDA to another location and trying it out there to see whether that makes a difference. I would expect that what we are seeing is due to something in hardware, rather than software, since all the drivers do is assume that the first sample will be from channel 1, second from channel 2, third from channel 3 etc. Therefore, there must be some kind of hardware glitch that is causing this. Could you give us any information about the expansion module you are using to connect your DAQcard to the PDA? There may be a possibility that this interface is somehow causing a glitch in the data.
In terms of dealing with the channel swapping, one suggestion could be to pass a known reference voltage down one channel and detect when this reference voltage has been switched to another channel. This will tell you when the switching has occured so then you could tailor your other channels accordingly. I believe this is the type of thing that Mike did to get round the issue. Can you confirm whether this is the case, Mike?
Kind Regards
Jeremy T
Technical Marketing Engineer
National Instruments UK & Ireland

Similar Messages

  • Is there an easy way to batch process channel swapping?

    I'm creating a IR time-lapse, and I need an easy/effective way to swap the red/blue channels and do a few other things in Photoshop before I transfer the work to Lightroom to finish. I know that you can batch process for resizing and whatnot, but it would be really helpful if you could batch process basically all the actions you did in the history of one image in a set of 300+ and hit "go". Anyone know if this can be done, and how?

    Make an action that uses the channel mixer adjustment to apply the channel swap, then use the batch command to apply it to your folder of images.

  • Setting DAQ channel by property node does not display the value

    I am writing a configuration VI to set channel selection and calibration parameters for an SCXI chassis. I store a default setup in a configuration (ini) file and read that file automatically when the VI is called. The value from the file are set by property nodes using the "Value" property. The values from the file do not display in the DAQ channel selection rings, but the numerical calibration values do display correctly. When I click the down arrow in the channel rings, the correct value displays.
    This behavior exists both in LabView and app-builder EXEs. Also, if I change the property nodes for the DAQ channels to local variables, it works. The Value (signaling) property doesn't cause them to display
    properly either. Why can't I use the property node?

    I don't understand exactly what you are trying to do.
    Please upload a simple VI to demonstrate the behavior you are describing. Remember also to attach the .ini file.
    Best regards,
    Philip C.
    Applications Engineer
    National Instruments
    www.ni.com/ask
    - Philip Courtois, Thinkbot Solutions

  • IR Workflow - Channel Swapping

    I am a soon-to-be MacBookPro owner- making the switch from PC to Mac. My computer and Aperture are on the way. On my PC, I use ACDSee Pro to manage my photos and do 90% of my editing. I'm sure Aperture will work for most of my needs save one: channel swapping.
    I do a fair amount of IR work. My workflow currently involves switching out of ACDSee Pro into GIMP to do the red-blue channel swapping necessary to get the false color results I like in my IR images. Is there a better alternative for me as I move to Aperture on my Mac? I am not going to pay for something like Photoshop just to do channel swapping and some (rare) layer work. I was wondering if there is any Mac-oriented shareware like GIMP that would play nicely with Aperture? Or, is there an Aperture plug-in that can do channel swapping?
    I also, but only occasionally, have need to work with layers and again rely on GIMP. If there is an affordable alternative that would work well with Aperture, I'd appreciate hearing about it. Ideally the solution would be able to handle channel swapping and layering.
    It seems I could stay with GIMP for my needs, but I've seen some posts indicating GIMP doesn't play well with Aperture so am hoping for a decent alternative.
    Thanks

    Thanks, DLS. I was planning on giving GIMP a try and if it works for me, I'll stick with it. I saw some folks had problems and others didn't so I was just planning for the worst case by coming up with a backup.
    I didn't consider Elements because the latest PC version I have does not have a way to swap channels.
    Will keep Pixelmator in mind. Downloaded the manual and it certainly does look like it will swap channels. Does layers too so I'll give the trial version a whirl if GIMP gives me any problems.

  • Fastest way to read and write to/from muliple DAQ channels

    I'm developing an application in which multiple DAQ channels will be monitored, for example, displacement, load, strain, temperature and so on. My question is what is the fastest and most efficent way to check the value of these inputs, compare them to user inputs and then decide whether or not to write a different voltage to an output. I'm using LV 7.1 on Win 2000.

    I guess my first question would be are all these channels going to be on one card? Are you going to just make single measurements (are you interested in instantaneous values vs. "waveforms")? Doing a "Sample channels" for instance will make a single measurement of several channels (on the same board) and present you with an array of the resulting data, one element per channel. How fast do you need to sample, are all of the signals going to be on the same board? The latest NI-Daq allows configuring tasks that mix channel types (T'couples, straight voltage measurements, etc.) which makes configuring the DAQ easier.
    If you can give us a little more information regarding what you are trying to accomplish it will help.
    P.M.
    Putnam
    Certified LabVIEW Developer
    Senior Test Engineer
    Currently using LV 6.1-LabVIEW 2012, RT8.5
    LabVIEW Champion

  • Get daq channel names

    I recently upgraded from LabVIEW 6.i to LabVIEW 8.5. Back in 6.1 I could get all the channel names configured in MAX using Get DAQ Channel Names.vi. I was wondering how I can do this in 8.5. Ideally I would like the output to be an array of strings so I can then sort through them.
    Thanks

    Hello,
    I think that you can do that on daqmx. Using property node. See the attached file.
    Software developer
    www.mcm-electronics.com
    PS: Don't forget to rate a good anwser ; )
    Currently using Labview 2011
    PORTUGAL
    Attachments:
    ChannelName.PNG ‏19 KB

  • Configuring DAQ channels through LabView program

    Hi,
    I want to scan one analog input of PCI 6025E every 250 msec and I scan 8 such channels. I am using AI Sample Channel VI to do this and for its channel input I am feeding a string (with channel name) that is typecasted using a Traditional DAQ channel constant. All the required channels are configured using this constant. However this VI doesn't seem to be portable. When I use it on a different machine, the constant shows no channels defined.
    Is there a way to configure DAQ channels through my program such as to make the program portable? I came across notes that mentioned DAQ global channel but I don't know how to use it.
    Thank you in advance,
    Sharmila

    One of the great things about DAQmx is that there are only 4 basic VI's to learn to use. The Configure, Read, Write and Stop. The same Configure VI that was used to setup the analog input channels can be used to setup analog output, digital in/out and counter in/out.
    The small menu on the bottom of the VI is actually a listing of all the different operations that this single polymorphic VI can do. Click on the down arrow and you'll see what I mean.
    I've modified the example to read DIO lines 0-3 and write to lines 4-7 on Port 0. Again it programatically builds the channel list so it will always refer to the correct device. To create individual channels for a digital line, you first specify the device, then the port, then the line or lines. Example, to create a task for lines 4-7 on port 0, you would use "Dev1/port0/line4:7".
    Notice that the "DAQmx Create Channel.vi" is the same one used in the analog input configuration, but with different polymorphic selections. Also note the "DAQmx Read.vi" is the same except for the selector.
    Ed
    Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
    Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
    Attachments:
    Build Task and Scan Channels with DIO.vi ‏127 KB

  • Labview DAQ channel viewer doesn´t view to much

    Hi, heeelp please
    I´m starting to bealive in goblins.
    I have a Pci-6013, and did a university proyect using also NiDAQ 6.9.3 and Labview 6.1 eval. I tried mi code in a modern amd 2600 pc and worked fine.
    Then i installed it in a Shuttle SKG1, for the cybernetic fountain (my proyect, a photo is attached, working, with the old good new computer, by the Shuttle, almost not to be seen) to be more nice. But i couldn´t get it to work, since the simple Write to digital line.vi wouldn´t get to work; LabView doesn´t read the channels i had previously configurated in the MAX explorer. When i go to tools, Data Acquisition, Daq Channel Viewer i get to see other channels i didnt configurate, like sine, or temperature.
    In the Amd 2600 normal computer the problem doesn´t arise, when i go to the Channel Viewer i get to see my channels. Well, i´m in troube, since i need it to work eather in the Shuttle or in an old Pentium II, in which the same probem arises. What do have a Shuttel and a Pentium II old computer (eaven with Isa slots, besides the Pci slots) in common against a normal Amd 2600 in an Asus board in common for it to do such a thing.
    Any hinch on the topic would be by this time very much apreciated.
    Attachments:
    IM000238.JPG ‏850 KB

    It is not really clear where you see what in MAX.
    If you have developed and tested your program and configured the channels on the AMD PC you have to do the following:
    Open MAX, select File>>Export and go through the wizard to export the NI-DAQ configuration. You will get a file. Copy this file to the target machine. There open MAX and select File>>Import. Select the file you have copied. Then you should see your channels in MAX and your application should work.
    Waldemar
    Waldemar
    Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
    Don't forget to give Kudos to good answers and/or questions

  • DAQ channel name control empty

    I'm having the problem that virtual channel names don't appear in DAQ channel name controls or constants. The proper channel type is selected, but nothing appears. I'm also missing a couple of contextual menu items on the control, such as add channel and edit channel. Any ideas?
    I'm using MAX 3.0, DAQ 6.9.1f28, and Labview 6.0.3. A different system with MAX 2.1.3.14 works fine

    MAX 3.0 ships with the NI-DAQ 7.0 driver. You should not be using MAX 3.0 with the older 6.9.1 driver. I would recommend using the MAX version which ships with the NI-DAQ 6.9.1 driver. If your working system is identical with respect to NI-DAQ and LabVIEW versions, then I would recommend using MAX 2.1 with the non-working system as well.
    Regards,
    Justin Britten

  • Labview DAQ channel wizard

    I followed instructions in the Labview manual to access the DAQ channel wizard. For some reason I am directed to the device & automation explorer instead. I have Labview 5.1 installed on windows 95 system.

    Hello;
    You are probably being pointed to Measurement and Automation Explorer to have your hardware configured.
    MAX is the Software that allows you to configure your hardware and set some virtual channels up.
    Regards
    Filipe A.
    Applications Engineer
    National Instruments

  • Daq channel name constant

    Hello,
    I'm using LABVIEW 6.1 on a computer that does not have a DAQ card
    installed.  I would like to create a listbox that allows selection of
    multiple DAQ channels.  My problem is that the AI Group Config.vi
    requires a DAQ Channel IO data type which is neither a string nor an
    Integer.  I tried to use the DAQ channel name constant, however I
    wasn't able to enter a value for the constant. This problem may be
    caused by the DAQ card not being installed.
    Therefore, my question is that if I had the DAQ card installed, would
    the DAQ Channel Name Constant allow me to enter a value?
    Thanks,
    Steve

    I believe you can at least type a name into the control/constant if you
    right click on it and select "Allow Undefined Names". Then just double
    click in the control and start typing.
    Ed
    Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
    Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.

  • Selecting DAQ channels by arrays of strings for scxi 1102/4c

    Hello,
    I have an urgent matter - for my project I have to modify DAQ analog acquisition on several machines. The existent applications use definitions of virtual channels AnCh0-63, and they select them by DAQ constants which are connected to AI Acquire Waveforms. Now I need to make one program for all machines (different slot numbers of the cards) that will retrieve channel selection from a database (LV 7.1, MS SQL Server 2005).
    Is there a way to directly use the DAQ constants by feeding them strings from the database? The catch is that the company wishes to keep the existent programs and use a database for storing and loading parameters. Otherwise I tried with global-channel definition strings (obx!scy!mdz!0,2,...,n) but there were problems with some combinations of channels.
    Thanks in advance!
    simon

    Hello Simon,
    If I am understanding the question, you want to use the same program
    you have been using (which uses our "legacy" driver, Traditional DAQ)
    and want to integrate that into a database system.  The trick seems to
    be inputting the various inputs into the AI Aquire Waveforms directly
    from strings you have aquired from your database.
    If my understanding is correct, then we want to convert strings into
    the data types required by the VI.  The channels input can be fed a
    string directly (as long as it is in the format it expects), while the
    other inputs require numeric values.  You can convert strings into
    numerics with the Decimal String to Number VI (Functions
    Palette»String»String/Number Conversion).  Using these, you can then
    input the correct inputs:
    You can also parse strings with the string manipulation VIs (Functions Palette»String) if you need to.  I hope this is the information you are looking for, your application sounds like it could save a lot of time in the long run.
    Message Edited by Neal M on 11-28-2007 02:45 PM
    Neal M.Applications Engineering       National Instruments        www.ni.com/support
    Attachments:
    TDAQString.JPG ‏10 KB

  • How do you manipulate and display multiple DAQ channels?

    I have two sensors wired into the same DAQ (USB) module.  I can monitor the signals in LabView using DAQ Assistant, but I'm having trouble separating the channels.  I would like to display the signals on separate waveform charts and also apply different conversion formulas to each one before writing the data to a file.  However, I can't find any way to distinguish between the two signals in either of the express VIs for these tasks.  I can display both signals simultaneously in one or more charts, but I can't figure out how to make each chart display a different signal.  I searched through LabView help and finished the DAQ tutorial, but neither helped with this simple problem.  It's very important that I learn to work with multiple channels, because I'll eventually have even more signals coming into this DAQ hardware.

    Hey Jonnyboy,
    Check out the example called Select Signals.vi.  Are you using dynamic data?  Go to Help>>Find Examples... and type select as the search word. 
    Basically you have to index the one that you want using the Select Signal express VI.
    Hope that helps get you in the right direction.
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • Using Multiple non-successive Analog DAQ Channels

    Hi,
    I need to use multiple analog channels from my DAQ Device in a particular application. Is it necessary to use continuous range of analog channels (e.g. 0,1,2,3,...) or can i use channels in any order (e.g. 2,4,6...)? My DAQ Device has 16 AIOs. What are advantages/Disadvantages of using non-successive channels ?.
    Thanks.

    Hello,
    It is perfectly acceptable to sample on multiple channels that are not in a continuous range, nor do the channels have to be increasing order. In most applications, there are little to no advantages/disadvantages of doing this, other than ease of use for the programmer.
    -Alan A.

  • Help, Ni-Daq channel names and labview program error 10001?

    Can anyone please help me, I have inherited a role that I know nothing about. I have managed to get an NT pc to now recognise the SC-2345 board, set up and configure two channels and test them in Measurement and Automation program, this I managed after getting error 10401 and looking within these message boards which are very good.
    I have then started a labview program, previously written by ex-employee, and now get error 10001, after trawling the FAQ and forums I think that I have a naming error in the virtual channels created, how do I find out what the channels should be named within the Labview program, do I need to load an editor etc and then open a config file?
    Sorry if this seams like a simple error, but I am trying to learn the software from a book that is a little tattered.
    Regards

    Hi,
      error 10001 can be caused by a few things including an incorrect scanning order.
    If you'd like to post your code back onto here (or if it's large, ftp it to ftp.ni.com/incoming and let use know the name of the zip file you've packaged it into), then we can see what the DAQ section is supposed to be doing and hopefully provide some clues as to where to look for the information / why the error is occuring.
    The first thing to do is go back to Measurement and Automation explorer and try setting up a global task that refers to the channels you're interested in.
    This removes the programming side of things, since you select from drop down lists, to verify that you can communicate correctly with the hardware at the rates and across the channels that you want.
    These links is going to be your best learning point for getting up an running with the program.
    http://digital.ni.com/public.nsf/allkb/DD52ABD7C15F0B15862562910074F09E
    http://zone.ni.com/devzone/cda/tut/p/id/3116
    http://zone.ni.com/devzone/cda/tut/p/id/4656
    In terms of LabVIEW, there's several I/O controls you can use which will list the hardware channels you have configured or the global tasks you have created in Measurement and Automation explorer. (see the last link above)
    Another option is to look at our Alliance Partners if you need things configured and up and running in a hurry.
    http://www.ni.com/alliance
    If you just need a little pointer on getting kicked off, then you could see if you local sales engineer is available to go through things with you for an hour if they're in your area at a convenient time (for the UK / Ireland, please call in on 01635 572410 and ask to go through to sales), or we do offer start-up assistance (but that's something you need to purchase) to get a day's onsite assistance with getting your hardware up and running and starting you off with advice / examples on your application (note this is an effort based thing rather than a results based guarantee)
    Finally you could consider coming on one of our courses on LabVIEW and / or Data Acquisition to learn more about the software / hardware and be better prepared to handle the implementation yourself.
    Hope that helps
    Sacha Emery
    National Instruments (UK)
    Message Edited by SachaE on 03-23-2007 11:49 AM
    // it takes almost no time to rate an answer

Maybe you are looking for

  • How can I delete a user group that my computer will not delete?

    I tried to remove a user group from my desktop following the procedures given. I could remove all but one user. This is the one I want to remove. How can I do this? I have 4 user groups. Why?, when ever I had trouble and called AppleCare they had me

  • Why is my Mac so slow?

    My Mac is constantly lagging and freezing. It started when I had Mountain Lion and has gotten progressively worse; if anything, upgrading the operating system helped but not enough to make a significant difference. It seems like it's prompted by almo

  • Acrobat X Pro trial on OSX 10.9

    I want to test Acrobat X Pro on an OSX 10.94 Mac. I don't want Acrobat XI. When I download and install, the trial button is grayed out, but the serial number boxes are there. Does anybody know how to get the trial on OSX 10.94?

  • Video files not visible in Finder

    I have just finished transferring all my files to a new iMac with Mavericks 10.9.1. I have been editing video for years with various editing suites, on an Intel Mac. OS 10.6 On my new iMac the only files shown in Finder are just the packages "AVCHD"

  • Apple TV2 with B

    I have a pair of B&W MM-1 connected directly to my Samsung TV. Now I am considering buying an Apple TV2, but I cannot figure out the right way to connect my MM-1s. What is the appropriate way to connect them if I: Still want to be able to use the MM-