07-07-2005 08:03 AM
07-11-2005 11:50 AM
Hi mjletts,
I couple of clarifications. Where exactly are you getting the error. I copied your code and ran in it DIAdem 9.1 and I didn't quite get the error you were mentioning. What is the version of DIAdem you're using. If I understand you correctly, you have a hexadecimal data file and you're trying to read this file into data portal. Or are you trying to read a ascii file that contains decimal data and you're trying to convert that to hexadecimal before you bring into the data portal. I apologize if I am going on the wrong track here, but I wanted to make sure I understand the problem before I give you a suggestion.
I hope to hear from you
SijinK
National Instruments
07-12-2005 10:29 AM
Hi mjletts,
From your code, I take it that you're reading in a binary file using a data plugin. Once you have read your data file into DIAdem then you can change the formatting of the channel when you display it.
Once your drag your channels in DIAdem VIEW, then the following code will change the formatting to hexadecimal.
For Each Channel in View.Sheets(1).Areas(1).DisplayObj.Columns
Channel.Format="$"
Next
I hope this helps
SijinK
National Instruments
07-18-2005 02:07 PM