Base voltage of reading/record

Hi all

Sorry, I'm quite new to Labview, and I was wondering if someone could help me understand what's wrong with my VI.  I'm trying to read in a simple voltage using a USB-6008 and save the data.  Any input would be greatly appreciated.

Hey Mu,

have you read this error message when you try to start the VI? It is quite simple...

Otherwise look here!

Tags: NI Software

Similar Questions

  • Device unknown Base system-> card reader, ThinkPad T430 2349 Win7

    Hi all

    I got a new ThinkPad T430 2349 and installed Windows 7. After installing the drivers, everything works fine, except the card reader. It it is not found, on the contrary, there is a device unknown base system listed in the hardware Manager. The hardware of this base system device id is:

    PCI VEN_1180 & DEV_E822 & SUBSYS_21F317AA & REV_07

    This should indeed be the card reader.

    Should which driver I?

    I have already installed without success:

    http://support.Lenovo.com/de_DE/downloads/detail.page?docid=DS028931

    http://support.Lenovo.com/de_DE/downloads/detail.page?docid=DS029035

    Thanks for any help!

    Andreas

    OK, I had a driver that works in Windows 7, also:

    www.magnetix.rs/activa/E822_X64.zip

  • Problem reading recorded in audio

    Hello

    The following code is what I used to read the audio recorded.

    Private Sub sayHello()

    {

    int i = 0;

    data Byte [] = null;

    Audio AudioRecorderThread = new AudioRecorderThread ("gsm");

    audio. Start();

    Try

    {

    Thread.Sleep (5000);

    }

    catch (InterruptedException e)

    {

    e.printStackTrace ();

    }

    audio. Stop();

    System.out.println ("recording stopped");

    data = audio.getAudioBuffer ();

    ByteArrayInputStream IStream = new ByteArrayInputStream (buff, 0, data.length);

    Try

    {

    A player = Manager.createPlayer (istream, audio.getContentType ());

    Player.Realize ();

    Player.prefetch ();

    player.setLoopCount (1);

    player.addPlayerListener (this);

    VolumeControl vc = player.getControl ("VolumeControl") (VolumeControl);

    If (vc! = null) vc.setLevel (100);

    System.out.println ("player Staring");

    Player.Start ();

    Thread.Sleep (6000);

    System.out.println ("judgment of the reader");

    Player.Close ();

    IStream.Close ();

    }

    catch (System.Exception e)

    {

    System.out.println (e.getMessage ());

    }

    }

    The code for AudionRecorderThread is as follows,

    public void run()

    {

    Try

    {

    Create a player who live audio recordings.

    _player = Manager.createPlayer ("capture://audio?encoding=" + contentType);

    _player. Realize();

    Get the RecordControl, configure the flow of record,

    _rcontrol = (RecordControl) _player.getControl ("RecordControl");

    contentType = _rcontrol.getContentType ();

    Create a ByteArrayOutputStream to record the audio stream.

    _output = new ByteArrayOutputStream();

    _rcontrol.setRecordStream (_output);

    _rcontrol.startRecord ();

    _player. Start();

    }

    catch (System.exception final e)

    {

    UiApplication.getUiApplication () .invokeAndWait (new Runnable()

    {

    public void run()

    {

    Dialog.Inform (try ());

    }

    });

    }

    }

    public void stop()

    {

    Try

    {

    System.out.println ("slaughter recording");

    Stop recording, record data of the OutputStream,

    closing the OutputStream and player.

    _rcontrol.commit ();

    _data = _output.toByteArray ();

    _output. Close();

    _player. Close();

    }

    catch (System.Exception e)

    {

    synchronized (UiApplication.getEventLock ())

    {

    Dialog.Inform (try ());

    }

    }

    }

    The code above works file when encoding is gsm, but is unable to work with the regime pcm encoding.

    With PCM, it gives error "not a snd file.

    I tried putting the header before the captured data. But then it gives error Audiomanager:IOException and media.

    [0,0] VM:NCICv = 56 [0,0] VM:NMACv = 11

    [0,0] AR: remove the source 11

    [0,0] AR: setAudioMode 32

    [0,0] stopped recording

    [0,0] [-683785997] SMP: _ss = 1799

    [0,0] MN: init0 (0, 0, 5) = 0

    [0,0] MN: charge 0

    [0,0] VM:NCICv = 10

    [0,0] VM:NMACv = 25

    [0,0] AUDIOMANAGER: IOException

    [0,0] MP: h = 0, s = LG: + mErr

    [0,0] MP: h = 0, s = LG: + unlC

    [0,0] MN: finalize0 (0)

    [0,0] MP: h = 0, s = LG :-> UD

    [0,0] MP: h = 0, s = UD:-unlC

    [0,0] MP: h = 0, s = UD: mErr.

    [0,0] MP: h = 0, s = UD: LOAD ERR

    [0,0] MP: h = 0, s = UD: + UNLD

    [0,0] MP: h = 0, s = UD: UNLD.

    [0,0] Media: e:MdEr:9

    [0,0] of media initialization error.

    Help, please

    Thank you

    For PCM, it would be wise to add a wave header.

  • issue of beta - seeks in recorded streams and synchronization of reading record

    Hi lccs, some initial questions for you as I get started on the beta...

    you say audio and video are saved in separate FLVs on client server.  CLC ensures that the audio/video synchronization is maintained during playback?

    How recorded streams are delivered during playback?  You can search in these rivers? for example if I have a recording of a video conversation, can I use a calendar to look forward and back through this video?

    and finally - I want to read an audio video conversation between two users.  LCCS will take care of synchronization between these four rivers? (two videos, audio two) or do I need to build a strategy of buffering that is synchronized to achieve?

    Reiterate the point of Raff - when configure you a ConnectSessionContainer with one

    PlaybackAuthenticator (essentially, a 'reading application"), which

    ConnectSession does all the work flow of synchronization for you. As Raff

    You can create a timeline and look in his - ConnectSession

    archiveManager exposes all aspects of reading for you.

    In fact, here's a basic seek bar you can try:

    ID value = "{CSession.archiveManager.CurrentTime}" = "slider" "

    change = "CSession.archiveManager.Seek (Slider.value)" / > "

    Finally, as Raff also says, you are not limited to the exact reading

    application that you saved. If you had, say, audio/video chat more text chat

    registered and you didn't want to read was the A / V, delete the text chat

    your application of reading (and remove the cat FLV from the record

    (zip, to save on bandwidth), and your player application should work. You can

    also completely rearrange the appearance of your application to playback from

    'live' or allow your users to manipulate the presentation or the content of that of

    reading course back looking at the record. We believe that this will lead to the

    some really interesting and innovative applications.

    hope that helps,

    Nigel

  • Differences in the use of RowSetIterator reading records from a VO?

    Hi experts,

    I use Jdev 11.1.1.1.5 and 12.1.3, and I would like to know what is the difference between browse a VO using a RowSetIterator or not it:


    Example 1: Don't use NOT iterator:

    ViewObjectImpl viewObject = getEmployeesView();  
    viewObject.executeQuery();  
    while (viewObject.hasNext()) {  
     Row row = viewObject.next();  
     // DO what do you want in Row  
    }  
    

    Example 2: Use of iterator:

    ViewObjectImpl viewObject = getEmployeesView();  
    RowSetIterator rsIterator = viewObject.createRowSetIterator(null);  
    rsIterator.reset();  
    while (rsIterator.hasNext()) {  
     Row row = rsIterator.next();  
     // DO what do you want in Row  
    }  
    rsIterator.closeRowSetIterator();
    

    Kind regards

    Jose.

    ViewObject.next (unless delegated) RowSetIterator:

    https://docs.Oracle.com/CD/E12839_01/apirefs.1111/e10653/Oracle/JBO/Server/ViewObjectImpl.html#next%28%29

    While, in example 2, you are created again, second RowSetIterator.

    There is no diff. except that you can have two lines of different currents in two cases of iterator...

  • Difference between "Toggle Record" and "toggle / / folder.

    There are two commands different keys that can be assigned to the Publisher of key commands.

    • Enable/disable record (.)

    • / / Record toggle (*)

    What is the difference between these two?

    Also, what is the best way to access the logic Pro X 'in the manual of the depth?

    I find that the 'logic of aid' within the program is extremely limited or base. I almost find answers advanced in there and if I ago incomplete or very hard to find.

    Essential difference is that Record/toggle allows you to go in and out of recording mode without changing the mode of playback/record...

    Toggle / / folder

    If the playhead is stopped - rocking record will move you in and out of recording mode (without starting the registration process)

    If the read head moves - rocking record will pass you in and out of recording mode (keeping the playhead moving).

    So the foregoing you pop in and out of recording mode independent of the State of the playhead (i.e. order, reading, record)

    Record

    If the playhead is stopped - by pressing the folder will start recording.

    If the playhead is trying to record - pressing the record won't do anything.

  • Write error in scan-1073807339 voltage Keithley 2400 to VISA, GPIB

    I'm working on a VI that sweeps the voltage across multiple PV devices, all in two States (light and dark). I use the SCPI and a GPIB commands to send scan to the Keithely and store it in a memory slot. So I ask this field using a sub - VI for each device in the two States.  The first State (light) still works fine.  VISA writing successfully sends the script to the Keithly and VISA read records of information successfully. But when the VI tries to run the same Subvi in the 2nd State (dark), I get the error of delay of 1073807339 waiting.

    Ways, I tried to solve this problem:

    -adjustment of the byte for VISA read rate (at one point given, I was getting the error on VISA read, not write)

    -adjust the setting of time-out of VISA by the suggestion of Web site of nor

    -loading of the script on the keithley each time for each scan

    In addition,

    I collect 100 points of data with each scan-05V to 2V.

    Whenever I get this error in order to get anything to connect once again, I have to close out of labview and could power off, power and reconnect the keithly

    Help, please. This could be a problem with my GPIB device? or my Keithley 2400?

    Thank you

    I tried all the solutions, but none of them helped. However, I have finally solved the problem on my own. The issue was that the VISA session was not properly closed / emptied after each scan.  To resolve this issue, I added VISA close at the end of each scan and clear VISA before each scan.

  • Analog voltage trigger

    I'm using LabVIEW 7 on windows 2000 with the PXI-4461

    I'm trying to have the labview read arriving through the analog input voltage but start recording data when the voltage passes a certain threshold value. I tried an example 'acquisition & graph continuous tension - analog trig SW. The graph displays amplitude on samples. I am looking for amplitude over time. Any help is greatly appreciated.

    Thank you

    SparkEE

    No, it is not necessary to a xy chart. A normal graph displays a signal sampled regularly with time on the x-axis if you configure the properties of the graph for absolute time or regular. If you buy a type of waveform data, the chart uses the t0 and dt signals. Right-click on the chart and do of course ignore timestamp is not selected.

  • Using the DAQ assistant voltage vs time graph

    I'm relatively new to all Labview and terms and everything which affects programming. I've read tutorials and everything trying to understand things. One thing that I have a problem is the DAQ assistant. Now, if I wanted to place the DAQ assistant on the block diagram of labview and I have everything set up so that the voltage will travel in the DAQ hardware, how would I set up my block diagram so that I can get a graph of voltage vs time in which data begin recording until the voltage reaches a certain tension I was inputing and change such as 30 or 40 volts. The data will also stop recording when the voltage reaches the same number. I also want to be able to multiply the number of voltage coming out a number that I can change myself before it is graphed over time. Example, I mean the voltage to start recording when he reached 40 volts. Now when the voltage comes out of allows it to DAQ assistant say he is somewhere read 10 volts and the number I want to multiply by 5. So, I want to be able to multiply the voltage by 5 and then since it will be 50, it would begin graphing this number over time.

    You would need to have a Boolean value which controls whether the (amplified) voltage is greater than N.

    If so, he would send this value to a graph, if not, the tension would not get graphically.

    Here is an example: (do not try to copy this code exactly, because it does not use a signal, but rather a whole number that is being created)

  • Real-time display at the high frequency of data acquisition with continuous recording

    Hi all

    I encountered a problem and you need help.

    I collect tensions and corresponding currents via a card PCI-6221. While acquiriing data, I would like to see the values on a XY graph, so that I can also check current vs only voltage/current / time. In addition, data should be recorded on the acquisition.

    First, I create hannels to analog input with the Virutal DAQmx channel create, then I set the sampling frequency and the mode and begin the tasks. The DAQmx.Read is placed in a while loop. Because of the high noise to signal, I want to average for example every 200 points of the current and acquired for this draw versus the average acquisition time or average voltage. The recording of the data should also appear in the while loop.

    The first thing, I thought, was to run in continuous Mode data acquisition and utilization for example 10 k s/s sampling frequency. The DAQmx.Read is set to 1 D Wfm N Chan N Samp (there are 4 channels in total) and the number of samples per channel for example is 1000 to avoid the errors/subscribe for more of the buffer. Each of these packages of 1000 samples should be separatet (I use Index Array at the moment). After gaining separate waveforms out of table 1 d of waveforms, I extracted the value of Y to get items of waveform. The error that results must then be treated to get average values.

    But how to get these averages without delaying my code?

    My idea/concern is this: I've read 1000 samples after about 0.1 s. These then are divded into single waveforms, time information are subtracted, a sort of loop to sprawl is used (I don't know how this exactly), the data are transferred to a XY Chart and saved to a .dat file. After all that's happened (I hope I understood correctly the flow of data within a while loop), the code in the while loop again then 1000 samples read and are processed.

    But if the treatment was too long the DAQmx.Read runs too late and cycle to cycle, reading buffer behind the generation of data on the card PCI-6221.

    This concern is reasonable? And how can I get around this? Does anyone know a way to average and save the data?

    I mean, the first thing that I would consider increasing the number of samples per channel, but this also increases the duration of the data processing.

    The other question is on the calendar. If I understand correctly, the timestamp is generated once when the task starts (with the DAQmxStartTask) and the time difference betweeen the datapoints is then computed by 1 divded by the sampling frequency. However, if the treatment takes considerable time, how can I make sure, that this error does not accumulate?

    I'm sorry for the long plain text!

    You can find my attached example-vi(only to show roughly what I was thinking, I know there are two averaging-functions and the rate are not correctly set now).

    Best wishes and thank you in advance,

    MR. KSE

    PS: I should add: imagine the acquisition of data running on a really old and slow PC, for example a Pentium III.

    PPS: I do not know why, but I can't reach my vi...


  • Oracle Read-Ahead: not the same as looking forward, Yes?

    Hello

    I tried to understand the systems Oracle Read-Ahead, and I think I understand how it works, but I would like to say that I'm not mistaken.


    What I managed to understand in the Oracle documentation, the Oracle read-ahead mechanism is especially used for sequential access to data blocks. For example, to perform operations such as table scans.

    In this case, Oracle will for example use a physical operation called scattered read.
    Read the straggling, in turn, is configured in the ini. ORA parameter a name like db_multiblock_read_count. A multiblock read count of 60, will make the scattered read read operation 60 blocks of sequential data from the drive, starting with the data block that was requested in the operation.

    From what I understand, this is the basis of the read-ahead mechanism. It is use mult block transactions reading data rather than the simple operations of bock.

    If what I've said so far is correct. There are two things I'd like to know:

    1.
    These 60 blocks read by the read sctarred. They go directly into the database buffer cache? Or are they loaded everything first in to a lower level cache, as a scattered read cache?

    For example, if the table scan requested page 1. And the read operation recovered scattered pages from database 1 to 60. I guess that this single page 1 would be transferred to the buffer cache. More later when the requested table to page 2 scan, the cache buffers would recover the scattered read cache this page in the buffer cache. Or is it completely wrong? And when scattered reading gets 1 to 60 pages. It automatically transforms the data pages in the buffer cache in random positions of the main buffer?


    2.
    With Oracle read-ahead, table scans and other such physical operations always incur straggling expected read periodically. For example, every 60 pages, scanning table facing in another scattered read wait OK?

    3.
    Read-ahead in oracle anticipates a physical operator database page needs a specific point in time, Yes? The following does not occur:
    While the analysis of the table is currently on page 50, with another 10 pages more left in the database buffer, background processes decides it's a good idea ask to get another 50 pages of data yet. So that the thread of forground treatment table scan never has a stop in reading e/s.

    It is of to future research, and it is not a function of Oracle, is it?

    Thank you for your understanding.

    -------------------

    I did a few tests where, although the size of the table to a data transformations are still the same (1 GB) but the time I take to make my exit from the source table varies. The processing time for each record has increased considerably from one test to the next. But I noticed that the time-out of the transformation of data remains constant, although the time cpu increases considerably. The increase in time CPU means that the extraction of time until that next buffer was reduced, which would give more time for the system to look forward. Eventally I could have done the time so much CPU, if read IO was executed in anticipation, that it would be possible for PLAYBACK of theortically waiting time at 0. I know is not going to happen. So I had just be certain of how early reading works.


    My best regards.

    sono99 wrote:
    Hello

    I tried to understand the systems Oracle Read-Ahead, and I think I understand how it works, but I would like to say that I'm not mistaken.

    What I managed to understand in the Oracle documentation, the Oracle read-ahead mechanism is especially used for sequential access to data blocks. For example, to perform operations such as table scans.

    In this case, Oracle will for example use a physical operation called scattered read.


    Read the straggling, in turn, is configured in the ini. ORA parameter a name like db_multiblock_read_count. A multiblock read count of 60, will make the scattered read read operation 60 blocks of sequential data from the drive, starting with the data block that was requested in the operation.

    From what I understand, this is the basis of the read-ahead mechanism. It is use mult block transactions reading data rather than the simple operations of bock.

    Don't know if you wanted to read several blocks at the same time or the features of the cache before reading provided by some storage devices. But it seems to me you speak CRBM (Multiblock read County) and no cache of early reading provided by storage vendors.

    If what I've said so far is correct. There are two things I'd like to know:

    1.


    These 60 blocks read by the read sctarred. They go directly into the database buffer cache? Or are they loaded everything first in to a lower level cache, as a scattered read cache?

    For example, if the table scan requested page 1. And the read operation recovered scattered pages from database 1 to 60. I guess that this single page 1 would be transferred to the buffer cache. More later when the requested table to page 2 scan, the cache buffers would recover the scattered read cache this page in the buffer cache. Or is it completely wrong? And when scattered reading gets 1 to 60 pages. It automatically transforms the data pages in the buffer cache in random positions of the main buffer?

    If my MBRC is 60 and none of the blocks are in a buffer and size of the table is more than 60 blocks then together 60 blocks would be transferred to the buffer cache. There was nothing called scattered read cache in the architecture of Oracle.

    2.
    With Oracle read-ahead, table scans and other such physical operations always incur straggling expected read periodically. For example, every 60 pages, scanning table facing in another scattered read wait OK?

    Yes file db scattered read wait event would mean that an another physical i/o was instituted for the extraction of blocks next records.

    3.
    Read-ahead in oracle anticipates a physical operator database page needs a specific point in time, Yes? The following does not occur:
    While the analysis of the table is currently on page 50, with another 10 pages more left in the database buffer, background processes decides it's a good idea ask to get another 50 pages of data yet. So that the thread of forground treatment table scan never has a stop in reading e/s.

    It is of to future research, and it is not a function of Oracle, is it?

    Yes, I don't think so it is a feature of Oracle, but provides some storage provider. It is also known as Read ahead.

    Thank you for your understanding.

    -------------------

    I did a few tests where, although the size of the table to a data transformations are still the same (1 GB) but the time I take to make my exit from the source table varies. The processing time for each record has increased considerably from one test to the next. But I noticed that the time-out of the transformation of data remains constant, although the time cpu increases considerably. The increase in time CPU means that the extraction of time until that next buffer was reduced, which would give more time for the system to look forward. Eventally I could have done the time so much CPU, if read IO was executed in anticipation, that it would be possible for PLAYBACK of theortically waiting time at 0. I know is not going to happen. So I had just be certain of how early reading works.

    My best regards.

    I don't understand your last paragraph.

    Concerning
    Anurag

  • Click here to read autoplay plugins always, regardless of the setting.

    It does not matter what I change the value of topic: config for plugins.click_to_play, they will always be autoplay. I honestly don't know how long it has been like that, I just noticed that flash junk base was automatic reading and I tried to enable the setting.

    The pref plugins.click_to_play control only if you can see a selection from 'Ask to activate' for plugins on Firefox/tools > Modules > Plugins page.
    You should always choose this setting for each of the plugins.

  • HP Envy m6 laptop will not read the sandisk

    SanDisk is a micro SDHC 16 GB. I put it in the memory card slot and it does not read / record it. Other maps of memory work very well. What should I do?

    Thank you.

    Hello

    Very simple: do not use this Sandisk card. I posted my experience before, we paid nearly 1 million dollars for 4 units MDS9000 and none of them can read cards greater than 2 GB.

    Kind regards.

  • reading of the analog inputs with RPC

    Hello

    Because LabVIEW can not handle this (in VI; the value that you have saved the excel file has not been the same, that I saw during the measurement...) This confused me for a long time ), I want to write a C++ program (IDE: Dev - C++) which can read & record 2 analog inputs of the NI USB-6009 box. For this, I looked for an example of National Instruments and I found a little. But my problem is that I can't even use any example, because it has always held a mistake, after that I have compiled and started.

    The error once the task has been created and has the :-200220 error number with the description "device identifier is invalid. But I do think that its invalid, because it's the xP example

    I must say that I am new in programming C++, which means I could have a rookie mistake. And I couldn't find documentation or something for the NOR-DAQmx library.

    Someone has similar problems with DAQmx and C++ and know how to fix? I don't really know what I can do now without a working example or documentations...

    Hi Mario

    It's the same thing. You didn't just save all of the data:

    Please take a look at my comments in the attached VI.

    Christian

  • DAQ read and write synchronization

    I would like to acquire the data permanently (I) and sometimes write data (AO).

    Currently I have a Subvi permanently this bed to 125kHz. The data is passed to a queue. Another Subvi accepts a user input and provides output tension affecting playback. I traced reading and voltage on a chart. I noticed that over time, the input and output lose alignment. Initially, it is +/-10 ms and then past at 100 + ms - as the control voltage above reading expected by 100 m I switch the control voltage to the Subvi acquisition via a global variable and insert it into a table with playback.

    I am sure that is not the way to do it, but I can't see how trigger can help me here, given that the reading should be continuous. I just need to align the output to the input of my land.

    I solved the task:

    I put a VI "get the date and time" in a structure to deal with the writing of data acquisition. Then, I used the wave function of build and wired an array of unique value (the value of the AO) with the time stamp (to). So instead of using a waveform graph, I used a XY Chart and traced this waveform, but also the waveform of analog input (combined in a table). So if I send a voltage pulse at time t = 100 ms, I see an increase at t = 100 +/-1 m higher, I see the rise at t = 100 + dt ms (dt ~ 10 to 100), because the data was drawn from the buffer too slowly.

    Since I am acquiring data at all times, regardless of the result, triggering is not really useful here.

Maybe you are looking for

  • NumLock does not work on Qosmio X 70 - A

    NumLock does not. How to activate the numlok?External keyboard numlok works

  • Re: Satellite u305-s5097 webcam does not

    Hello I'm trying to get my integrated webcam to work but it doesn't. Sometimes, his works but its random. I restart the laptop and it sometimes work but not every time.The laptop is a toshiba satellite u305-s5097 and it has windows vista Home premium

  • Cannot find drivers for XP for Satellite A200 - 1BP PSAEC

    Hello. I want to use Windows Xp, but I can't find the xp drivers in the toshiba web site... How can I find the drivers for xp?Thank you... Satellite a200-1bp

  • Cannot find the backup files

    I'm trying to restore my pc to factory settings, but when I try, it can't seem to find my files back. I have the back of the files in my external hard drive and its connected to my computer, but it doesn't seem to be able to detect it.

  • How can I get my netflix to work on media center

    I can't get my netflix to work on media center, I click on the netflix icon, and it says loading, then an error message pops up saying no internet connection / checking the connection. but I'm connected to the internet