Jump to content

Torben L

Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Torben L's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hello, I am using 4461 and/or 4462 to measure an acoustic signal using a ICP microphone on AI0 while using one or more other channels to measure a voltage signal. The microphone signal is in the 300 mV range, while the other signals may be in a higher range, fx. 10 V range. The problem is that when I configure AI0 to trig at 30 mV, Rising edge it triggers at a much lower level. Setting the range on the last channel to 30 V makes the problem worse, causing the trigger to on the sligthest noise. Using the attached example I have seen that the problem is related to the last AI channel on the board, i.e. AI1 on 4461 and AI3 on 4462. Has anyone seen this or have an idea for a fix? Using LabVIEW 8.2 and DAQmx 8.3 f3. Best regards Torben Laursen
  2. Hello all In some applications we use the flatten to string function to convert clusters of different type into a string that can easily be passed from one vi to the other without type conflicts. Now I find that when using the Unflatten from string function with a cluster that does NOT match the string, it may pop-up an error message like "Not enough memory to complete the operation". The cause the error is that the flat string is interpreted as an allocation of a large array or something. But why does it have to pop-up an error dialog? It should just set the 'err' output true and return the default cluster value! That is how it worked in LabVIEW 6.1! The error dialog prevents using Unflatten with different cluster type to find the cluster type that match the string by a trial and error method (I don't want the user to click OK any number of times to get the conversion right). Now the real question is if there is a way prevent Unflatten from string from popping up any error messages? Any help is appreciated. A VI that demonstrate the problem can be found here: Download File:post-3275-1129724819.vi Best regards Torben Laursen microLEX Systems A/S
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.