LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

write a binary file per day // show the samples only 1 in 1 minute

Solved!
Go to solution

Glad to read that.

 

I have been busy all weekend and didn't get a chance to re-visit the code.


🙂
Message 21 of 59
(1,566 Views)

well Ray.R

I have done somethings here and its working nice, but today i notice a problem here and maybe you can help me

When I run the client.vi

I receive an error


Possible reason(s):

LabVIEW:  Memory or data structure corrupt.

 

And if I click to continue

I receive another error:

 

Possible reason(s):

LabVIEW:  The network operation exceeded the user-specified or system time limit.

 

I think is because i'm waiting 60 seconds to send the information to Client.vi!

Because i don't have any problem with the data i'm sending! 

 

I will upload the new server.vi and I hope you can give me some feedback!

 

Thanks

Message Edited by EduU on 09-24-2009 09:10 AM
0 Kudos
Message 22 of 59
(1,542 Views)

Hi Edu,

 

I do not have LV installed at this PC, so I will only be able to look at this tonight.

I suspect that you are correct:

 


EduU wrote:


LabVIEW:  The network operation exceeded the user-specified or system time limit.

 

I think is because i'm waiting 60 seconds to send the information to Client.vi!



But it may also be due to the data corruption..

 

 

0 Kudos
Message 23 of 59
(1,536 Views)

Are you calling any dll's as part of your code?

Or perhaps calling / using scripts? (I doubt)

Or are you creating a dll from the VI?
If there is a dll in the "picture", you have to make sure that all errors are handled correctly in your dll; because any function that does not return a value properly could result as a corruption.  Verify that any parameters are correctly formatted LabVIEW data types to the functions.  '
I would have to see the code to provide appropriate advice..  😉
Message Edited by Ray.R on 09-24-2009 11:00 AM
0 Kudos
Message 24 of 59
(1,534 Views)

You could also post an image of your code, that way I could look at it sooner.

 

R

0 Kudos
Message 25 of 59
(1,528 Views)

Hey Ray R.

I didn't upload a image because the code is too big... so i won't appear all at one window!

Well i was doing something here and i need help in one more thing

I'm trying to make my code show the RMS value and a Waveform graph

If i do only one of them it works, but if i put both to do i receive an error at waveform graph:

 

Error -200278 occurred at DAQmx Read (Analog 1D Wfm NChan NSamp).vi:1

Possible reason(s):

Measurements: Attempted to read a sample beyond the final sample acquired. The acquisition has stopped, therefore the sample specified by the combination of position and offset will never be available.

Specify a position and offset which selects a sample up to, but not beyond, the final sample acquired. The final sample acquired can be determined by querying the total samples acquired after an acquisition has stopped.

Attempted to Read Sample: 3600

Property: RelativeTo
Corresponding Value: Current Read Position

Property: Offset
Corresponding Value:


Task Name: _unnamedTask<A>

 

Maybe you could help me here!

I will upload the vi again, because i changed somethings

and i will try to upload a ss from this part too!

 

Thanks!

Download All
0 Kudos
Message 26 of 59
(1,496 Views)

Hi Edu,

 

Here's an explanation:
"This error occurs when a DAQmx read function attempts to return data after the board has stopped acquiring it. One common occurrence of this error is when a DAQmx read function is used inside of a while loop when the task is configured for a finite acquisition."

 

Details can be found here

 

I'll have a look at the code tonight.

 

R

0 Kudos
Message 27 of 59
(1,491 Views)

I just looked at your attached image.

 

Are you trying to take the RMS value of new samples/new data?  Or are you trying to get the RMS value of the same data as for the 2D array?

 

If so, you should wire from the 2D array take the RMS value and plot the result. 

 

Did you want them on seperate graphs?

 

Not, you should also wire the error clusters for all your functions, in case some other error causes some sort of cascade.

 

R

0 Kudos
Message 28 of 59
(1,490 Views)

Well I want to see the wave form from what I'm doing

I will show the RMS values only in a single precision and the wave form in a graph

so maybe is better take the graph from the 2D array right?

 

How can I do that?

 

Tonight you can take a look at my code

so you can find better solutions, or something to make it a better program

I will wait your post =D

0 Kudos
Message 29 of 59
(1,486 Views)

Hi Edu,

 

Can you save as previous version and select LV8.5?

I do not have LV8.6 installed. 

 

Thanks,

 

RayR

0 Kudos
Message 30 of 59
(1,458 Views)