Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Could you please calculate expression

Hi Panmanas,

 

The reason you have a broken wire is that you have attached two different data types.  The data type of your indicator is a Double (float 64) and the data type in the wire is a Dynamic Data Type, which is used to pass live data with time information.  You can use the Convert From Dynamic Data Express VI to correct the problem in your code.  If you will be developing in LabVIEW in the future at all, you might try checking out the following links:

 

LabVIEW Learning Center: Getting Started with LabVIEW

 

LabVIEW Introduction Course - Three Hours

 

Classroom Customer Education Courses

Wes Pierce
Principal Engineer
Pierce Controls
0 Kudos
Message 11 of 21
(2,286 Views)
Dear Wes P Thank you very much for your kindly help. We shall correct as you suggested. We are in Thailand. We attended the 3 hr course in Thailand already. We feel that our application is unique and we feel very happy to use this NI Discussion forum. We can get answer direct to our questions very fast and we can learn a lot. Anyway I shall determine about the courses you suggested. Thank you very much again. With my best regards, Panmanas
0 Kudos
Message 12 of 21
(2,278 Views)

Dear Panmanas,

        I compiled the code I posted earlier to work with version 8.0. We are all glad here to help you Smiley Very Happy

Waleed El-Badry MSc.,MCPD, ISTQB Certified Tester
Assistant Lecturer
Mechatronics Department
Faculty of Engineering
Misr University for Science & Technology



View Waleed El-Badry's profile on LinkedIn

0 Kudos
Message 13 of 21
(2,246 Views)

Dear Waleed EI-Badry

 

Thank you very much for your help and your code.

We shall apply it to our work.

 

Thank you very much again.

 

With my best regards,

 

Panmanas

0 Kudos
Message 14 of 21
(2,227 Views)

I'm pleased to help you. If you find any part mysterious, don't hesitate to tell me (and muks for sure Smiley Very Happy)

Waleed El-Badry MSc.,MCPD, ISTQB Certified Tester
Assistant Lecturer
Mechatronics Department
Faculty of Engineering
Misr University for Science & Technology



View Waleed El-Badry's profile on LinkedIn

0 Kudos
Message 15 of 21
(2,221 Views)

Dear Waleed EI-Badry

We opened your code but suddenly we imedietely saw a broken wire. We attached file for you to see too.
We dont know what was wrong. We use Labview version 8.0 with license.

We tried to solve the problem by using Convert from Dynamic Data Express VI as Wes P recommended. But still the wire is broken.

Please help us again.

Thank you very much.

With my best regards,

Panmanas

0 Kudos
Message 16 of 21
(2,193 Views)

 

 

 

Is this conversion required?

 

 

 

Message Edited by muks on 08-22-2008 05:19 AM
Message 17 of 21
(2,190 Views)

I corrected the file based on muks solution

Waleed El-Badry MSc.,MCPD, ISTQB Certified Tester
Assistant Lecturer
Mechatronics Department
Faculty of Engineering
Misr University for Science & Technology



View Waleed El-Badry's profile on LinkedIn

0 Kudos
Message 18 of 21
(2,170 Views)
It is your nice solution vbcoder,I just corrected it.All credit to you.
Message 19 of 21
(2,166 Views)

Dear Muks and Waleed EI-Badry

 

Thank you very much indeed for your help. We are are group of lecturer and students who are trying to use LABVIEW in our application.

We have less basic knowledge. That is why we ask you very often.

Thank you very much that you stand for us with kindly help.

When we bought LABVIEW, we asked the dealer to train us for specific course especially for our application but they could not accept it.

I think it is because our application is unique. So they help us to ask from ASEAN NI support and to this NI Discussion forums.

We found that by this way we can get solutions correct and imediately.

I think that all of you work hard. Why dont you come to Thailand and relax for some days.

From November to February, there is no rain.

 

With my best regards,

 

Panmanas

 

0 Kudos
Message 20 of 21
(2,137 Views)