02-03-2010 09:56 AM
Hallo,
wie kann ich den in LabVIEW8.0 vorhandenen Block "In String konvertieren" & "String in Daten konvertieren"(in 8.5.1 Daten serialisieren/deserialisieren) in LabVIEW7.1 nachbauen? Benötige diese für die Kommunikation über CAN-Bus(betrifft die PCAN WRITE.vi und READ.vi) , die im Internet veröffentlichten .Vi´s für 7.1 funktionieren nicht, da immer dir Eingänge "Array-oder Stringgröße, ByteReihenfolge(benötige LITTLE ENDIAN) und Fehler Eingang nicht vorhanden sind. HAbe also schon versucht über 8.0 downzugraden auf 7.1, aber wie geschrieben, es scheitert an den genannten Block
MFG Holger
Solved! Go to Solution.
02-03-2010 09:58 AM
02-03-2010 10:52 AM - edited 02-03-2010 10:56 AM
Hi Ritchie,
hast du zu deinen Funktionen auch noch die englischen Originalnamen? Dann wäre eine Antwort einfacher...
(Helfen würde auch das Formulieren der Frage in Englisch!)
Inwieweit haben die VIs im ZIPfile mit deiner Frage zu tun?
Edit:
OK, habe mal in die Read&Write-VI reingeschaut. Du kannst doch auf ein einfaches Typecast umstellen. Da die Array/Stringgröße nicht mitübertragen wird und du ja eh die LV-interne Präferenz "LittleEndian" benutzt, kannst du das U8-Array direkt in den Cluster umformen lassen (und umgekehrt)...
02-03-2010 12:35 PM
Thanks for answering,
but also my problem is, that I am still an absolut Beginner with LabVIEW. In actually in struggle with this thing:(
But I am trying my best to solve it and hopefully it works. And what is the matter with the Cluster/ Array?
The VERSION of this stuff I found in the I-NET, and I thought it´s just PLUG and PLAY...without this Trouble RIGHT now.
02-03-2010 03:08 PM
02-03-2010 03:20 PM
02-04-2010 03:40 AM
Thx, for this suggestions, I will try and hope it will be working. My Troubles are, I did it first in LabVIEW 8.5 and now I have the problem to implement these VI´s in labview 7.1. It was fine to found the PCAN at the I-Net. and use it as PLUG and PLAY, there was no problems...till now, with the building block "convert into String/ unconvert String". I could rebuild the otherVi´s in 7.1, but I am give up with the terms of String convert etc.
So I have to tell, that I´m an absolut beginner in programming, for me was LabVIEW fine because of the graphical solution in programming. It would be fine, if anybody can give me an solution for this exemple at the appendix of the building block (wich is using and running in LabView8.5.1 & also in 8.0)
Because, my Topic was to program a VI for the communication with a AC-Inverter and it was working on my PC with LabVIEW 8.5. And now Ihave to integrate it on a "NI-Measerment BOX" wich is still running with LabVIEW7.1.
Thanks for help and support
I hope any one can give me an example
Best regards
Holger
02-04-2010 10:46 AM
02-04-2010 01:11 PM
02-04-2010 02:00 PM
Thanks Gerd!
I will try it tomorrow, I can´t say how glad I´m about this stuff!!! Because I´m a absolute beginner in programming and also to handle LabVIEW!
And if it works, I have to invite you for a lot of beer or somthing else...
So, I will answering after positiv testing with the AC-Inverter
Thanks a lot I´m so excited!!!
Best Regards
Holger