JKI Discussion Forums
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Easy xml and com port

#1
User is offline   dialooc 

  • Group: Members
  • Posts: 1
  • Joined: 21-January 10
Hello,

Is it me or easy xml doesn't support com port control? If not, does anyone know if there's plans to add it?

Thank you,
0 kudos

#2
User is offline   Justin Goeres 

  • Group: JKI Team
  • Posts: 16
  • Joined: 05-October 07
  • Gender:Male
  • Location:Cary, NC
Hi dialooc,

View Postdialooc, on Jan 21 2010, 04:12 PM, said:

Is it me or easy xml doesn't support com port control? If not, does anyone know if there's plans to add it?

When you say "com port control," I'm assuming you're talking about the VISA Session datatype.

EasyXML doesn't support the VISA session datatype directly. However, you can convert VISA sessions to and from strings. If you convert your VISA session to a string and use the string as an element in the cluster you're passing to EasyXML, it will work.

If you have any trouble or if I'm misunderstanding, please reply and we'll help you out.

Thanks!

Justin
0 kudos

#3
User is offline   hburd 

  • Group: Members
  • Posts: 15
  • Joined: 25-October 09
  • Gender:Male
  • Location:usa
Hi,

I am also trying to do the same as Dialooc and I did try to take the string value out of the visa serial port. Please, could you advice me if there is a better way to do it?

Attached Image: visa_esayxml_front_panel.png
Attached Image: visa_xml_block_diagram.png
Attached File  easyxml_serial_port_information.vi (16.08K)
Number of downloads: 46
0 kudos

#4
User is offline   Jim Kring 

  • Group: JKI Team
  • Posts: 1,204
  • Joined: 15-March 06

View Posthburd, on Feb 15 2010, 10:28 AM, said:

Hi,

I am also trying to do the same as Dialooc and I did try to take the string value out of the visa serial port. Please, could you advice me if there is a better way to do it?


What Justin means is that a VISA Resource will coerce to a string. So, change the control in your cluster into a string and then you can wire VISA Resources to it and vice versa:

Attached Image: monthly_02_2010/post-2-1266288666.png

Does that info help?
0 kudos

#5
User is offline   hburd 

  • Group: Members
  • Posts: 15
  • Joined: 25-October 09
  • Gender:Male
  • Location:usa
Hi Jim,

Yes, this helps a lot!

thanks again!

Helcio

View PostJim Kring, on Feb 15 2010, 06:51 PM, said:

What Justin means is that a VISA Resource will coerce to a string. So, change the control in your cluster into a string and then you can wire VISA Resources to it and vice versa:

Attachment 2_15_201...49_15_PM.png

Does that info help?

0 kudos

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic