Jump to content

kristos_b

Members
  • Posts

    16
  • Joined

  • Last visited

Posts posted by kristos_b

  1. Hi all,

    I am using Database Connectivity Tool vi to create new table in the database. I was able to set the first column as primary key 'not null' but there is one option I could not find in this vi. I want to set the first column as auto-number (auto-increment). I tried to modify the query by adding there 'AUTO_INCREMENT' string but it gives me errors. Finally I opened the table in access and modified it but that is not ideal at all. Is there any way of doing that using connectivity tool?

    Thanks,

    Krystian

  2. Hi All,

    I started to mess with one of my xcontrols to make it look more like system style. After some adjustments I realized that now when I drop it on new vi, it has a frame like a recessed box. Previously it did not have any frame so it was blended in the front panel.

    Any ideas how to get rid of recessed box without rewriting Facade vi?

    Thanks,

    Krystian

  3. I have trouble working with the huge amount of measured data in my application.

    I have made a small example of what I am doing to illustrate the problem.

    for a little background info this is what I'm (trying) doing:

    I want to measure 21 analog channels with a sample freq. of 10KHz and 1Ksamples/channel over 10k to 25k different situations.

    This will result in 21*1k*25k= 525M measurements (I know it is a lot) at max. All this data must be saved to disk and processed later.

    The measured data must be of type waveform because later on I want to do FFT calculation on it and therefore I also need the sampling data.

    As you might already guess I'm getting a memory full error.

    I have tried saving the measured data to a binary file which results in a "memory full" error.

    Then I tried to save it to a TDSM file which doesn't result in a "memory full" error but saving takes longer than doing the measurement over again.

    Can someone help me how to save and process this huge amount of data?

    Many thanks in advance,

    arjen

    You could save every measurement waveform to separate file. To avoid having thousands of files in one directory you could use openg zip library and archive them on the fly. Works for me but I never had more than thousand measurements.

    I have no experience with TDMS so I dont know much about errors you are getting.

    rgds,

    K

  4. Hi All,

    I would like to transfer 3d image/animation created in labview to other device continuously. I have not decided what format it will be. Anyway I need to get the data in some format (array, string...). Does anybody know how to get access raw data from 3d picture control? I imagine it should be available through some invoke node but I could not find anything usefull.

    Thanks,

    Krystian

  5. Hi all,

    I have a question about one of ni usb modules. Previously I was using usb6009

    and because it has low ADC input impedance (144k) I was forced to use external

    buffers and some other circuitry. Now I have in the Lab the usb6212 module

    which has ADC input impedance 10GOhm when the device is on and 1200 Ohm

    when it is off (according to this http://www.ni.com/pdf/manuals/371932f.pdf). This

    is perfect for my application because I have to measure the line first and

    after measurement I have to short the capacitor to get ride the charge

    (continuously in the loop). My question is how you actually switch between high and low

    input impedance. I tried different things from DAQmx palette but nothing works

    for me. I could not find anything about this problem on ni webpage or LAVA.

    Could you help me with this or point me to the solution on the web.

    Thanks,

    Krystian

  6. Hi Krystian,

    I checked and I confirm this. I would consider this a bug since the "Edit Position Property" detailed help says this is settable when the VI is running, it's a read/write property & the description explicitly says to use -1 for row or column header.

    Have you checked if this bug has been reported yet?

    post-10515-1246941423_thumb.png

    EDIT: I posted this on the dark-side

    Hi Francois,

    I found the way around. I use Table Control instead Listbox and I am able to get the functionality I want. Although it is a bit more complicated.

    Thanks,

    Krystian

  7. QUOTE (Ton @ Jul 7 2008, 08:06 PM)

    But I don't see that in the code/screenshots, maybe you should widen the scope frame?

    Could you specify which code/image you mean?

    In het second set I count 9 '1' on p0.2 while p0.3 is high, this is perfectly reflected by channel 2 and 3 on the scope image.

    Wait, I see on the first set that the dip on channel 1 (p0.4) is too early.

    But this is all with software timing?

    I never trust those ;)

    Ton

    I guess you can not expect much from software timing but still this looks pretty weird. Specially that the rest looks quite regular.

  8. Hi Lads,

    I have noticed something strange while developing some code for ni usb6009 (this same behavior on 6501). I want to load some digital patterns using digital i/o's. I dont really mind that samples are flushed out quite irregular (software timing) but there is one condition for which this module acts quite weird. It seems that when samples on any line are not changing their states, they are either ignored or flushed very fast (I dont know which is true). I hope example below will make it clearer.

    I trigger the scope with P0.4->channel 1 on the scope.

    This is what I am sending:

    post-7701-1215077231.png?width=400

    This is what I am getting on the scope (1->P0.4, 2->P0.3, 3->P0.2, 4->P0.1)

    post-7701-1215077241.png?width=400

    Than I push the trigger 4 clocks further:

    post-7701-1215077252.png?width=400

    And result is exactly this same as before.

    post-7701-1215077562.png?width=400

    Here I put trigger sooner when something is happening on the lines

    post-7701-1215077269.png?width=400

    And it works fine:

    post-7701-1215077349.png?width=400

    Did anybody came across problem like this?

    Below is the code I am using to send the waveform. I have tried to replace waveform with 2d Boolean and send each bit in separate 'for loop' iteration but it didn't help.

    post-7701-1215077463.png?width=400

    Thanks for help,

    Krystian

×
×
  • Create New...

Important Information

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