Error 200302 in DAQ-mx global virtual channels when reading 0Hz

Hello, I am attempting to calculate flowrate via frequency (by counting the pulses for a given time).
The frequency read seems fine when the operation is running. However, when there is no flow (only tested by reading the channel with the operation off) there is an error 200302 (Signal being measured is slower than the specified measurement time.Increase the measurement time, or use a different measurement method.).The concern is to make sure that when there is actually no flow rate while operating that the returning information is confirmed to be valid.
So far the only solution I've found is just ignoring/hiding errors. Any further help would be appreciated and if I have not been thorough enough please let me know.
Thank you for reading.

Hi JRoe,
You can change the timeout to -1 where no timeout will occur and consequently no error; however, until a sample is read the DAQmx Read will wait before progressing onto the next while loop iteration.  This is another option to consider in addition to handling the error exception. 
Regards,
h_baker
National Instruments
Applications Engineer
Digital Multimeter Resources

Similar Messages

  • Duplicating a CTR Global Virtual Channel in MAX does not update the CO.Pulse.Term setting

    Hi, 
    Here is the issue description:
    MAX version: 4.6.2f1
    daqmx:  9.0.2
    Hardware: cDAQ-9178 , NI-9474 Digital output.
    For this module one has:
    crt 0 out  <--> PFI3 
    ctr 1 out  <--> PFI7
    crt 2 out  <--> PFI1
    ctr 3 out  <--> PFI5
    1. In MAX create a Global Virtual Channel as a CTR output on ctr0.
    2. use the Duplicate in the menu to create a second counter output. Change its name, and change it ctr output to ctr 1 OUT.
    3. In MAX, the Pulse Output Setup pane should reflect the change by showing the ouput terminal pointing to the proper PFIi
    4. Export the settings to an INI file, and look at the CO.Pulse.Term settings for both CTR channels: they will both appear with the SAME PFIi !
    5. Using LabVIEW Write a vi that generate pulses on these 2 channels , you will get Error -89137 saying a PFIi resource is already used. If you look at the Task property CO.Pulse.Terminal, it returns the same for both tas, which is the same error seen in the ini file.
    Can someone at NI check this? Thx.
    Laurent
    PS: I posted this message in the LabVIEW board as I did not find one for MAX
    Solved!
    Go to Solution.

    Hi Laurent,
    I verified this behavior with DAQmx 9.1 and a simulated device.  I will file this as a Corrective Action Request (CAR). Creating the channels manually works correctly and produces the correct .ini file.  Sorry for any inconvenience this may cause.
    Regards,
    h_baker
    National Instruments
    Applications Engineer
    Digital Multimeter Resources

  • Is There a way to programmatically extract global virtual channel info from max?

    I have a group of DAQmx virtual global channels setup in MAX and I would like to be able to programmatically extract the physical channel information to be included with the data file. In the past I have been able to use traditional NI-DAQ channel utility vi's to accomplish this, but they only see traditional NI-DAQ virtual channels and not DAQmx virtual channels. Is there a group of vi's for extracting DAQmx virtual channel information? I'm using Labview 7.1 with a Windows XP OS.

    Paul,
    I can access basic properties using the approach you described, but do you know how to get the units from the global virtual channel?  Say I had a general appliance for reading in load cells, and I wanted to have the axis labels in a graph show the units of whatever load cell had been selected.

  • Global virtual channels and DAQmx AI inputs

    I would like to see and example linking global virtual channels and input configuration for DAQmx AI inputs.  The DAQmx input requires physical channels and not global virtual channels.

    Hello rlbrehm,
    If you are using a global virtual channel then you have alredy set up the input configuration, as shown here:
    So you simply need to set up timing and read, as shown here and in the attached VI:
    Message Edited by Dr. Doiron on 08-06-2009 02:55 PM
    With warm regards,
    David D.
    Attachments:
    Global Virtual Channel.vi ‏9 KB
    Input Config.jpg ‏176 KB
    VI.jpg ‏78 KB

  • How can I get properties of global virtual channels using DAQmx?

    I'm using DAQmx with VB6. In my app, I would like to be able to present the user with a list of available predefined channels to select from. I can use DAQmxGetSysGlobalChans to get a list of the channels, but I need a way to sort out which of these channels are defined as inputs, and which are outputs. It would also be nice to be able to query other properties of the virtual channel (for example, the device and physical channel being used). These all seem very simple things, but I haven't found anything like this in the documentation so far.
    Thanks.

    Try using  DAQmxGetChanType(TaskHandle taskHandle, const char channel[ ], int32 *data)DAQmxGetChanType(TaskHandle taskHandle, const char channel[ ], int32 *data).  This will return one of the following types:
    DAQmx_Val_AI
    10100
    Analog input channel.
    DAQmx_Val_AO
    10102
    Analog output channel.
    DAQmx_Val_DI
    10151
    Digital input channel.
    DAQmx_Val_DO
    10153
    Digital output channel.
    DAQmx_Val_CI
    10131
    Counter input channel.
    DAQmx_Val_CO
    10132
    Counter output channel.
    Let me know if this works. 
    Regards,
    L. Allen

  • Error "Data packet not complete; for example, 000013" when reading from PSA

    Dear all,
    I have an issue with my data loading, when i execute my infopackage, i specify that it should be loaded into PSA before going to the data target. in my infopackage request i notice that i have got missing data package
    e.g.
    Data package 1 : everything OK
    Data package 2 : everything OK
    Data package 3 : everything OK
    Data package 8 : everything OK
    Data package 10 : everything OK
    Data package 12 : everything OK
    Data package 13 : everything OK
    what happen to data package inbetween e.g. DP4, DP5 etc etc?
    In my "step by step analysis" under the status tab everything is green and nothing seem to have went wrong, no short dump, no job cancelled, nothing.
    Since everything "seems" to be alright, when i try to update subsequently to the data target, i get the following errors below.
    Data packet not complete; for example, 000013
    Request has errors / is incomplete
    I got 2 questions here...
    1. why do i have missing data package and it still showes me a green idicator?
    2. how can i solve this and is this something i should be worried about?
    Thank you very very much!

    Hii SCHT,
    you encounter these type of errors rarely...
    but in RSMO screen, check for any TRFCs struck..
    also go to the JOB in Source System and analyze the JOBLOG,
    there you can find some information about what tht particular job did..!!!
    and after that check for the same in the BW system...
    perhaps while transferring?extracting the recordsthrough data packages, it might have missed ..
    Force the request RED and repeat the IP again...
    you dont need to worry about anything...simply force the request red and reload.. just let us know if the problem still persists after repeating the load...
    Regards
    Prince

  • Duplicate physical channel with virtual channel

    I accidently created more than global virtual channel with one physical channel, for example:
    physical channel  global virtual channel
    a0                       vtc00
    a0                       vtc01
    a0                       vtc02
    My questions are:
    1-How do I change the virtual channel as the following:
    physical channel  global virtual channel
    a0                       vtc00
    a1                       vtc01
    a2                       vtc02
    2-How do I re-name/delete the global virtual channel, when it's not in the task?
    Thanks you for your time, Dylan
    Solved!
    Go to Solution.

    Thanks you Carisa for fast response, but that not the right answer I am looking for. 
    May be I did not make myself clear.  I attached two screenshots for example: On one screenshot, you will see bri00, bri01, bri02, bri03, bri04, bri05, bri06, bri07, bri08, bri50 on the virtual channel tab, however you won't see them display under NI-DAQmx Global Virtual Channel (second screenshot).  On the second screenshot, you only see bri00, bri01, bri02, bri03, bri04, the rest of bris do not display on here like they display on the virtual channel tab. 
    Now I can't create the new global virtual channel under NI-DAQmx Global Virtual Channel with the name bri05, bri06, bri07, bri08, because I will get the conflict name error pop up on the screen.  How can I delete those bris in the virtual channel tab? 
    Thanks again for your time, Dylan
    Attachments:
    virtual-1.png ‏45 KB
    virtual-2.png ‏226 KB

  • Use virtual channel name as input to DAQmx Write? LV8 and DAQmx

    I've created a task for digital output that contains 8 named channels using the DAQmx Create Channel VI in Labview. Is it possible to use the channel name as an input to the DAQmx Write VI to reference the desired channel? I tried wiring a string with the channel name to the "task/channels in" input but I get a -200428 error that says the Value passed to the Task/Channels In control is invalid.
    The help "name to assign" input for the DAQmx Create Channel VI says
       If you use this input to provide your own names for the virtual channels, you must use the names when you refer to these channels
       in other NI-DAQmx VIs and Property Nodes
    OK, so how do you use the name assigned in other VIs?
    George

    George,
    I think that there may be some confusion here about the difference between local and global virtual channels.  First of all, please take a look at the following knowledge base:
    Physical Channels, Virtual Channels, and Tasks in NI-DAQmx
    As discussed in this KB, local global channels are created inside a task, and they only apply to that task.  In the help file for the DAQmx Write VI, the "task/channels in" description says "if you provide a list of virtual channels, NI-DAQmx creates a task automatically."  When you wire a string to this input, a new task is being created, and unless the channel name that you wire in is a global virtual channel (listed in MAX), you will get the error 200428 that you mentioned.  This is because that virtual channel that you are specifying is local to another task and is not associated with this new task. 
    One solution to this issue is to use the DAQmx Save Global Channel VI to save your local virtual channel as a global virtual channel before calling DAQmx Write.  Once this is done, you can then wire the same string constant to the "task/channels in" input of DAQmx Write or other DAQmx VI's. 
    The help text is still correct, but is only applicable in certain situations.  For example, if you create and name an analog input local virtual channel with DAQmx Create Channel, you could then use this channel name as the source input to a DAQmx Trigger VI configured for an analog edge start trigger.  You could also use that channel name as the input to the "ActiveChans" DAQmx Channel Property, which would enable you to modify the properties of that particular channel. 
    Hopefully this information is helpful to you.

  • DAQmX create virtual channel execution time

    Hi,
    I am using DAQmX Create Virtual Channel for 70 different Digital Output. It took 35 seconds to execute the DAQmX Create Viryual Channel VI.
    What are the steps to make the execution faster.
    Valliappan.M

    Have you tried creating a global virtual channel with MAX?
    André
    Regards,
    André
    Using whatever version of LV the customer requires. (LV5.1-LV2012) (www.carya.nl)

  • Error message: " Couldn't create Java Virtual Machine"

    Hi,
    I recently downloaded from IBM rational application developer for websphere software v 7.5. The installation was successful. But when I try to open it, the error message:"could not create the Java virtual Machine".
    I am working on Windows Xp pro. and java is automatically updated the current version jre 1.6/
    even I tried to run eclipse from the directory c:/programfiles/IBM/SDP still same problem.
    Please some one help me how to fix it.
    Thanks.

    Do you resolve the problem? If so what was the fix?
    I have been getting the Java Virtual Machine Launcher error message “Could not create the virtual machine” when attempting to run an Oracle application that uses JNLP via a browser. Even clicking on componets such as javaw.exe produces the error message. In conjunction with receiving the error message, the application that I am working with will not launch.
    I had JRE 5u10 and J2RE 1.4.2u13 installed and thought that installing JDK 5u17 may resolve the issue. I removed JRE 5u10 and J2RE 1.4.2u13 and installed JDK 5u17 (and the included JRE 5u17.) The error message was still there.
    I have unistalled (via Add/Remove programs) and reinstalled (via both Win off-line and on-line) JDK 5u17 and JRE 5u17 many times.
    During the uninstalls I have received a Java Web Start 1.5.0_17 bad installation – error invoking JVM error message.
    I have restarted the machine also.
    There are some remains of J2RE 1.4.2u13 still on the machine –even after the 1.4.2u13 uninstall. The Java\j2re1.4.2_13\lib folder remains.
    I am running Win XP SP2 and IE6 SP2.
    Note: I cannot use Java 6 since the application that I am working with is Java 5 based.

  • LabVIEW error 10899 when testing a virtual channel

    I am setting up a virtual analog voltage output channel in the "Measurement and Automation Explorer". I am able to get throught that process and it shows up under "Traditional NI-DAQ Virtual Channels" on the left. When I right
    click on the channel and then go to "Test", I get the message "Error - 10899 occured at AO group config".
    Sometimes when clicking on test, the MAX crashes and a random window from LabVIEW pops up on the screen. Then I
    have to open the MAX again.

    Hello bberma01,
    I don't like to give you this type of answer, but in this case I think the best think to do is to unistall and reinstall your driver. While we are at it, DAQmx is the newest driver and is very user friendly. I would suggest using it for your data acquisition development.
    If you need to download the driver, you can find it Here

  • Error 10403 in Virtual channel Test Panel, but test pannel for device works fine

    I am using a simple 10x probe attatched to the NI5112 PCI card. When the device is tested under the devices and interfaces part of MAX, I get the scope input, when I test the virtual channel for the scope, i get error 10403. How can i resolve this?

    The reason you get that error is that virtual channels are not supported with our high-speed digitizers. Only devices that can be programmed directly with NI-DAQ support virual channels. The legal way to address a high-speed digitizer is by using DAQ::N, where N is the device number in MAX.

  • Errors in Creating Virtual Channel

    I am creating a IVI switch driver. The driver passes the IVI Specific Driver Suite 2.2 and IVI Switch SFP testing. When I try to create the virtual channel the device is found (created IVI Logical Name and other fileds) but the channels displayed are empty on the Channels/Exclusion tab. What calls are made when creating the virtual channel? I want to create a CVI or TestStand program to simulate the sequence that Switch Executive performs.
    When validating a configuration, are all possible channels used in SetPath loop? As an example, if three channels are defined (Front, rear, & base) but only the front->base, rear->base, base->front and base->rear are valid configurations. Will the vaildate try a front->rear configuration? Will a disconnect call be placed in between each SetPath call?
    Thanks.
    Randy

    Randy,
    Although you cannot step through the NISE engine, you can step through your driver's code and debug its behavior. If you have problems with importing IVI virtual name into switch executive virtual device, then what you need to do is select nimax.exe as the process to debug and run it with the debug version of your driver. If you were using CVI, you can set the external process under Run>>Select External Process. If you're using MSVC, you can choose "open project" and browse to nimax.exe and then add symbols for your driver DLL in the project settings.
    The entry points to monitor (for your particular problem) are the ones that deal with getting the number of channels and getting individual channel names and their attributes. Make sure that your driver returns the correct number of channels and that it also returns all these channel names correctly. If you see no error in switch executive (I.e. it just says OK after you import your ivi logical name), then my guess is that your driver returns 0 for the number of channels.
    Please be aware that switch executive exercises much more than any of the IVI clients you mentioned. Yet it does not go "through the back door" for anything, it (obviously) uses public entry points in the driver to perform what it needs to do.
    So, you can start by setting up debug project in your favourite environment, and check the behavior of the following functions in your driver:
    getting the IVISWTCH_ATTR_CHANNEL_COUNT attribute
    IviSwtch_GetChannelName (with your prefix, of course)
    and see if those work. My guess is that something is not working correctly between these two functions.
    Let me know
    -Serge
    Srdan Zirojevic

  • AI Group Config Error 10001 using Virtual Channels

    In my LabVIEW block diagram, I usually enter in numbers, e.g. 0,1,2 for the channel string input of AI Config. When I try to use a virtual channel, I simply type in the virtual channel, e.g. 0,K Thermocouple,2. However, this causes AI Group Config Error 10001, which applies to an invalid channel string. What is the correct way to enter a virtual channel into the channel string?

    Do you have channels with virtual names of "0", and "2"?
    If not you may be confusing MAX by using both naming conventions.
    Try using only Virtual names.
    I generally will use an array of strings where each element is the vitual channel name with no problems.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • How to make a virtual channel in MAX using DAQmx ?

    I want to measure the CJC temperature on the TBX 1328 ( attached to SCXI 1121). I want to create a virtual channel in MAX using DAQmx. I have right clicked on DAQmx but there is no option for virtual channel. Ther is the option of 'Traditional virtual channel' which i dont want.
    I used the VI to make the virtual channel but i want to knowhow to doit inMAX.
    thanks

    Here are 2 ways that you can create a DAQmx channel that appears in MAX.
    1) In MAX, right click on "Data Neighborhood" and select "Create New...". Then click "NI-DAQmx Global Channel" (or "NI-DAQmx Task" -- a task contains the channel(s) and triggering/timing information) and click "Next". This launches the DAQ Assistant that will guide you in creating the channel or task.
    2) In LV, place a NI-DAQmx Global Channel control on your panel or constant on your diagram. Right click on the control/constant and select "New Channel(DAQ Assistant)..." (Note: You can do the same from the NI-DAQmx Task control/constant to create a NI-DAQmx Task.)
    Deborah

Maybe you are looking for

  • I want all my emails to be saved in one folder off my regular hard drive. How do I do this?

    I have several email accounts for 2 businesses. I wish to be able to back them up to one folder on an external hard drive. When I select the same folder I get the message that, the folder is in use with another email address. I don't wish to have 8 s

  • Rdweb empty blank missing icons

    Windows 2008 R2 gateway and rdweb on same server (RD) Windows 2008 R2 session server (TS) After some time the website rdweb with the published programs (RemoteApp Programs) is empty for the users. I have tried everything and it allways fix itself wit

  • MSKA - Stock in Quality and Unrestricted both

    Dear Experts, Please help to solve below problem: After UD 321 done and stock moved to Unrestricted Stock. At time of UD Batch Status was Restricted, later it has been done Unrestricted thru MSC2N (342 movement). But in MSKA table, stock is showing a

  • Any end user guides for Oracle Financials?

    Hi, I am looking for a very simple end user guide for oracle financials with lots os screenshots and process steps... any help will be appreciated

  • Deleting a app that will not delete

    I have a Facebook app and below it says waiting. Tried to delete it and no luck