05-03-2010 06:42 AM
Hello,
My name is Maurice Filo. I am from Lebanon majoring in Electrical Engineering at the Lebanese University.
I am performing my final year project titled as "Demining Robot".
I used the Classification VI found in the examples and modified it to take the image from the CVS 1450 device and analyse it instead of taking the image from a file on the PC.
But it didn't work. Trying to find the problem, I made a small VI which takes an image from the CVS and writes to a file and this also didn't work. I tried to omit the CVS and read an image from a file and write it to another file and it worked.
I have attached here a picture of the VI that acquires an image and writes it to a file that i specify.
Please, can you check it out and tell me what did i do wrong.
PS: I used IMAQdx in this VI, is it ok? or I should be using IMAQ?
Any help would be appreciated.
Regards,
Maurice Filo
05-06-2010 07:46 AM
Hey Maurice,
What do You mean exactly under it does not work. Is the file created but there is no content? It does not create anything at all? Do You receive any error message? The best would be to use the error clusters and at the end after IMAQ Write to File function put a Simple Error handler. I suppose there will be some error message that will guide us to the soulution!
Let us know the resluts!
Best regards,
David Varga
Applications Engineer
NIH
05-06-2010 08:12 AM
Thank you for your reply. Your help is apreciated.
This write to file VI didn't create a file. Instead to narrow my problem, I created an empty bmp file and as I run my VI, I can use the path controller to select this empty bmp file as a destination for the write to file VI. And nothing would change, i.e: the bmp file I selected stays empty. I have also tried to put the error handler, it gave me an error that "some hex address in the memory eg: HEX...." is not an image! Is this related to using IMAQdx instead of IMAQ?
05-06-2010 09:34 AM
Hey Maurice,
I don't think it is related to imaqdx. Could You please make a screenshot of the error message? I'll set up a CVS in the office and will try out some things.
Best regards,
David Varga
Applications Engineer
NIH
05-13-2010 03:05 AM
Sir,
The problem was resolved. I was specifying the path of the file to save wrongly. I thought that the path should be specified as seen on the PC. Now, I know that the path should be as seen by the CVS.
If I face other problems I will post my questions.
I appreciate your interest.
Thank you,
Maurice Filo
06-02-2010 03:02 AM
Hello sir,
I just want to ask a question. We are working on the NI Classification Training Software. We know the algorithm of the classification. We are using K-nearest neighbor.
But the training procedure is not clear. Can you tell me what is the training algorithm? We learnt how to use this software and manipulate the clf file that it generates. The only thing we want to know is the training algorithm.
Thanks in advance for your help
06-02-2010 03:04 AM
06-02-2010 04:10 AM
Maurice Filo wrote:Hello sir,
I just want to ask a question. We are working on the NI Classification Training Software. We know the algorithm of the classification. We are using K-nearest neighbor.
But the training procedure is not clear. Can you tell me what is the training algorithm? We learnt how to use this software and manipulate the clf file that it generates. The only thing we want to know is the training algorithm.
Thanks in advance for your help