Re: Array Wish list

2004-01-20 Thread Simon Whitaker
On Mon, 19 Jan 2004 22:42:22 -0800 Jason Dunham wrote: > As far as I've ever heard, the transpose arrays don't use any extra > memory. The transpose function is done "in place". I'm sure a few extra > bytes are needed for temporary storage, but supposedly the same array > buffer is reused. I woul

Re: Another wish-list item - 2D array concatenation

2004-01-20 Thread Rolf Kalbermatter
"Rubin, Gary" <[EMAIL PROTECTED]> wrote: >While we're on the subject of wish lists, I'd like to propose a more flexible build >array function. >My current frustration is caused by 2D array concatenation. If I have two NI-DAQ >devices, each collecting 3 channels with 1000 samples, I'd like to be

Re: Write to File

2004-01-20 Thread Paul F. Sullivan
Shankar, You wrote: I have a loop that acquires data from NI DAQ and writes data to a text file. 'Acquiring' and 'writing to file' stages are separate sub VIs inside a loop. As soon as set of 'N' data is acquired, it is sent to write to file subVI to write in File 'X'. The process is repeated un

Re: State machine diagram editor

2004-01-20 Thread Paul F. Sullivan
Paul, You wrote: >Beware though that if you have enum items set {"da","moo"} and >supply a string "dada" or "mooable", no error is returned... I handle this problem via the case structure's Default case. With string driven state machines, my default case is always "invalid case." If a string

RE: Array Wish list

2004-01-20 Thread Jason Dunham
Well I was too lazy to do the test you performed, and I didn't find anything on NI's web site. But I'm nearly certain that the LV developers have said that transpose is an inplace function at several of the NIWeek session's I've attended. Maybe that's no longer true or maybe my memory has turned

Re: Error in the call of a DLL function

2004-01-20 Thread Greg McKaskle
> void decode_char_test (int *ptr_readbuf, int size_buffer, unsigned int > *ptr_writebuf, int *n_elements, unsigned int Y, unsigned int N); > The problem here is that your DLL call is both consuming an array of characters, and returning an array of integers, and the DLL doesn't allocate either

link problems with cvi.lib symbols? Does cvi have a complet lib.c implementation ?

2004-01-20 Thread art morel
If anyone knows how to get this to link please let me know ? thanks in advance, art email - [EMAIL PROTECTED] #include "stdio.h" #include //#define FILBUF_LINK_ERROR //#define IOB_LINK_ERROR main(){ int ch; FILE *fp; #if defined (FILBUF_LINK_ERROR) ch = fgetc(fp); // Wont link

early posts problem is solved

2004-01-20 Thread art morel
I had microsofts stdio.h file in my include path and it did not agree with CVIs stdio.h file. thank, art

How can I do an up/down counter or even a JK flip flop?

2004-01-20 Thread Gio
Hi, I need an up/down counter, but I can't found it in the Labview libraries (if exists...)... So I thought to build one using JK flip flop, but when I try to do the feedback of the last 2 AND, Labview shows me an error... How can I do? Thanks for help...

Caputring points on a threshold

2004-01-20 Thread PA
Salutations, On behalf of a co-worker: Analyzing an array of 600 acquired points over 3 milli-seconds post-process; we would like to capture the values that cross a set (Y) threshold and then save them to a separate array along with their (X) value. (Y) representing the value of the threshold an

RE: Array Wish list

2004-01-20 Thread Jim Kring
Using the "Show Buffer Allocations" tool (I forget where I got it on NI's website) there is no buffer-allocation-dot on the "Transpose 2D Array" function. This seems to imply that it is an "in place" operation. -Jim > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECT

Re: State machine diagram editor

2004-01-20 Thread Albert-Jan Brouwer
> >One can also just use the "Scan From String" primitive with > >the enum type def constant as the "default value 1" and the > >string you want to set as "input string". This way "output 1" > >will return the enum type def with the "input string" value. > > Ouch! How could I have missed that?

Problem immediately after LabVIEW startup

2004-01-20 Thread Jon Sweeney / ATS
I am using a DIO-96 for stimulus and response during testing of a PC104 board. An fpga on the board is preprogrammed to execute part of some of the tests. The fpga uses some of the DIO signals for input and others for output. The tests all run okay, EXCEPT, some of them consistently fail if I exit

RE: State machine diagram editor

2004-01-20 Thread Uwe Frenz
Scott and all, I am a bit late here, but... "Scott Serlin" <[EMAIL PROTECTED]> wrote on Fri, 16 Jan 2004 11:17:53 -0600 ... > Also, does anyone have any state machine > tips that they can share? I typically use a string driven state > machine. I then call out each state from other states. I al

Import picture.

2004-01-20 Thread Daniel Alejandro Moyano
> Hello nice people!! > > I would need to know if it is possible import *.gif files to customize > control buttons pannel. I couldn't do it yet. Could somebody help me. > Tks. > Rgrds. > > Daniel Moyano > >

Re: State machine diagram editor

2004-01-20 Thread Paul Brown
>Beware though that if you have enum items set {"da","moo"} and >supply a string "dada" or "mooable", no error is returned. You'll >have to test the if the remaining string is empty. But even when >doing that it might not be wise to rely on enum item sets such >as {"bah","ba"} to lead to non-am

Re: [RT] NonRT Queues on RT, Memory exhaustion and Error detection

2004-01-20 Thread Aaron Gelfand
Yonatan is correct, the LabVIEW RT OS, and I believe most if not all RT OS's, do not support virtual memory. The simplified reason is that virtual memory is created through the use of hard drive space which is substantially slower than RAM. Because of the speed difference, you can easily lose the d

Upgrades (was RE: State machine diagram editor)

2004-01-20 Thread Junginger, Johann
I am always reluctant to upgrade and usually only end up doing so when it is forced on me. In my experience "upgrade" is synonymous with "new bugs and surprises that are going to require time and effort to fix". I'd rather work with features/bugs that I know about than mess with new ones... I sti

Read packets

2004-01-20 Thread Farzad
Hi all, Hi, I’m trying to communicate with a sensor (Inertial sensor called EiMU) which is connected to my computer through a serial port. The commands which I send are a single byte command, in response to the command the sensor may send packets of different size depending on the request type. H

Write to File

2004-01-20 Thread Subramanian, Shankar, K
Hi I have a loop that acquires data from NI DAQ and writes data to a text file. 'Acquiring' and 'writing to file' stages are separate sub VIs inside a loop. As soon as set of 'N' data is acquired, it is sent to write to file subVI to write in File 'X'. The process is repeated until acquisition is

Another wish-list item - 2D array concatenation

2004-01-20 Thread Rubin, Gary
Hello all, While we're on the subject of wish lists, I'd like to propose a more flexible build array function. My current frustration is caused by 2D array concatenation. If I have two NI-DAQ devices, each collecting 3 channels with 1000 samples, I'd like to be able to concatenate the outputs

problem with motion controller drive

2004-01-20 Thread Murli
Hi all,    One of my projects at school deals with a motion controller PCI-7344 to run a stepper motor using MID-7604/02 motor drive. After configuring and initializing the controller, I could not run the motor. It seems the connections between controller and drive and drive and mo

RE: Array Wish list

2004-01-20 Thread Parus, Stephen
At a LV training session, I heard that when LV was initially being developed, some of its code writers wrote assuming column based arrays while others wrote for row. When they got together they discovered they would need a Transpose Array function. > -Original Message- > From: [EMAIL PR

RE: Array Wish list

2004-01-20 Thread Ross, Michael
I suppose then you could make the case that concatenate is "improperly" transposed as well. I have a paper and spreadsheet based malady - I think in columns, but LV (at least initially) thinks in rows. I suspect this is based on familiarity with database structure (database records are rows) on t

RE: Another array wish-list item - easy array size

2004-01-20 Thread Ross, Michael
I would like to combine array size and index array. So that if I wire a 3D array into it it morphs into a 3 output icon with an output for each index. 4D array begats 4 outputs and so on. No reason why it couldn't have the "old style" output as well. I suppose I can go make my own now that I th

PXI \ DAQ Problem

2004-01-20 Thread brtwnl
I have a PXI-1010 chassis with a 8175 controller and three PXI-6070E DAQ cards. I am measuring 16 channels per card. I receive an error 10845 from NI-DAQ LV stating "Because of system and/or bus-bandwidth limitations, the driver could not read data from the device fast enough to keep up with th

[W] SQL Server Replication in LabView

2004-01-20 Thread andrew johnson
This is a shot in the dark, to see if anyone has done replication with SQL Server (MS SQL) via DMO or stored procedures. We're able to accomplish this manually, through Enterprise manager, but are running into errors when we try it programmatically. Thanks, -- - Andrew Johnson - WireWorks Wes

Plotting 2 arrays on 1 chart.

2004-01-20 Thread OCallaghan_David
Hi, I am trying to plot 2 arrays onto a chart. The first array (1D) should be plotted immediately and the second array (1D), which is coming from a loop, has a new column appended to it every second. The chart should therefore be updated every second with the new data. I am unable to do this using

Caputring points on a threshold

2004-01-20 Thread Patrick Allen
Salutations, On behalf of a co-worker: Analyzing an array of 600 acquired points over 3 milli-seconds post-process; we would like to capture the values that cross a set (Y) threshold and then save them to a separate array along with their (X) value. (Y) representing the value of the threshold and

SSP upgrade strategy (was State machine diagram editor)

2004-01-20 Thread Uwe Frenz
Hi, Scott Serlin <[EMAIL PROTECTED]> asked on Mon, 19 Jan 2004 09:59:05 -0600: ... > On that note and this will most likely spawn another > thread here, how does everyone deal with upgrades on the SSP? Does > everyone just upgrade and fix all issues that come about from the > upgrade or do peopl

Re: Plotting 2 arrays on 1 chart.

2004-01-20 Thread Greg McKaskle
> I am trying to plot 2 arrays onto a chart. The first array (1D) should be > plotted immediately and the second array (1D), which is coming from a loop, > has a new column appended to it every second. The chart should therefore be > updated every second with the new data. I am unable to do this us

Fuse Vision System suggestions.

2004-01-20 Thread Castro, Diego
Hello all: Our Corporation Engineering Group is looking to develop a Fuse Color Detection system based on LabVIEW, although I have plenty experience working with LabVIEW, I am far from being an expert in Vision System Design, so I am looking for advice on a minimum Cost system being able to look

RE: Question Refined...

2004-01-20 Thread Junginger, Johann
I have never been thrilled with the waveform data type, although it does make some things easier. Part of my gripe is the time-stamping: If I'm acquiring 1.0 second of data at 1 samples/sec, I do *not* want my time values represented as D/M/Y H:M:S.xx. I suspect there may be ways of customisin

Matlab and LabVIEW troubles

2004-01-20 Thread Thomas Gary
Hi, LabVIEW users. I'm having trouble figuring out how to wire-up the Build Waveform VI to a Matlab Script Node. My goal is to do the following: Step 1: Use the Multitone Generator to build a Signal Step 2: Use a Get Waveform Components VI to parse the different elements of the waveform Step 3: U

RE: empty files in executable

2004-01-20 Thread Ed Dickens
One option would be to create a small VI that would create the directories for you, build this into an executable and include it with your distribution. Then in the App builder dialog, on the Installer Settings tab, hit the Advanced button, check the Run Executable after installation box and enter

RE: Array Wish list

2004-01-20 Thread Urs Lauterburg
Dear wireworkers and data transposers, I made a short test on my LV7/MacOS-10.3.2 by creating a 1 million element DBL 2D-array of 1000x1000 size by creating random numbers in two nested For loops. Transposing the array before displaying the values in a plain regular 2D-array indicator adds 8MB and

Question Refined...

2004-01-20 Thread Thomas Gary
Wireworkers, With more investigation... I've found that my t0 variable on the Build Waveform VI is a Time Stamp. I've never used a time stamp with my academic Matlab code, so my next question is how do I convert a time stamp into a Real number, namely zero. Gary L Thomas

empty files in executable

2004-01-20 Thread Dan_Wright
Using LV 6.1 app builder I am creating an installer for my program. Is there a way to create empty directories at instalation time? Thanks in advance, Dan Wright