LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

RS 232 + Camera

Solved!
Go to solution

I have no intentions to hijack this thread.

My problem was exactly the same as this thread.

Starting a parallel thread is only duplicating the issue with less changes of a solution churning out.

I can wait out for a solution to the original post and if it still doesnot solve my problem, I will butt in or as you suggested, start a new thread. (I still feel additional threads are just fragmentation of information and efforts).

0 Kudos
Message 11 of 24
(1,391 Views)
Since you apparently have not done a single thing, unlike the op who apparently has a web cam working, you do in fact have a much different question. If you do have have working web cam program, same response to you - attach what you have written so far and explain why you can't use the built-in save functions.
0 Kudos
Message 12 of 24
(1,387 Views)

Thank you very much for your answers 

yes I have a probleme to save the results.

I use The Visa to read the data results on string format, but I want save it on integer format (see more details on attached picture)

The same about the camera, I have use a Vision Acquisition but I don't know how save the vidéo. (see the second attached picture)

 

 

Download All
0 Kudos
Message 13 of 24
(1,374 Views)
There are no details with the image of the VISA Read because you did not attach a VI with typical data or even provide the string you are receiving. String to Byte Array our a Typecast could be used and then a Write to Spreadsheet File.
0 Kudos
Message 14 of 24
(1,366 Views)

@

I have attached both VI serial and camera.

Best regards

Download All
0 Kudos
Message 15 of 24
(1,329 Views)
Solution
Accepted by topic author hmed

Can you upload in 2011

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 16 of 24
(1,325 Views)

@Ranjeet_Singh

 

Yes, they are in 2011 version now

Download All
0 Kudos
Message 17 of 24
(1,318 Views)

In serial you need to close the VISA session after you read.

 

In camera you need to give some delay inside while loop

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 18 of 24
(1,310 Views)

Your VI doesnot have a loop.

So the VI will run 1 iteration only and then unload.

 

Even if you do get the data, it will not be visible.

You need to give some delay between initializing the port, calling it and displaying.

 

I am attaching herewith a simple serial read program that a friend used to read his weighing balances. (He actually sent it to me to show how he and I used different methods to sequentially read continus streams of serial data).

It will give you an idea.

 

You can use the write to file or write to measurement file to store this data.

 

Meanwhile if you are are a moderately experienced user, I can share my VI which I use to read loadcell data from my machine on Serial communication.

I then perform a lot of calculations on it and even generate a PDF report out of it.

0 Kudos
Message 19 of 24
(1,302 Views)

@Rohit_Chawla

Thank you very much, but the data results  are in String and I know them in Integer because I use "Write on file of mesurment".

Best regards

0 Kudos
Message 20 of 24
(1,296 Views)