Jump to content

epiz

Members
  • Posts

    27
  • Joined

  • Last visited

LabVIEW Information

  • Version
    LabVIEW 2022
  • Since
    2023

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

epiz's Achievements

Explorer

Explorer (4/14)

  • One Month Later
  • Collaborator Rare
  • Week One Done
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Awesome, thank you Just out of curiosity. On my computer I have a vi with multiple sub vis. I also call from folders that I have on my computer. If I was to send over my labVIEW code to someone would I have to attach all sub vis and folders used so they can also use my program?
  2. I want to write data read from a device to a file. I have figured out to do so. However, I would like to automatically create a file that is named after the serial number of the device. Is there a way that I can do this? Essentially creating a file name from a string and then putting data into the file without having to manually type in a file name and location in the popup box
  3. Is the first method you suggest able to work for the situation I described in the second sentence? I will check out the project template, thank you
  4. I am aware you can attach a button to an event structure and when clicked it will perform said event. Is it possible to have two buttons in the same event structure(I don't think its possible but want to confirm). Lets say one of the events is to read data from a device and it displays on the vi. Is it possible to just create another event that can simply just pull that said data and write it to a file? Thanks
  5. I want to upload certain strings to a file to keep the data for each item I am testing. I am able to store things like time/date/item number in the file no problem. The issue comes trying to write a hex value to the text file. I get it is a text file so it is going to read the hex values as text. Is there a way to work around this where I can store both normal and hex values without anything being changed?
  6. I have a combo box where the items and values are in normal value/display. I set it up so that i have two separate combo boxes and when the first one is used, that item is selected in the second combo box and the values for both are then placed into a string and converted to hex. I have a problem with one of my items. for some reason the value that is placed in combo box 2 seems to just not show up in the code. It will repeat the item but not the value. The code also doesn't change if I have no value for that item in combo box 2
  7. I have 15 sets of hex data. I would like to organize these in separate files or maybe within a combo box so that I can pick and choose which one I want to use. I want it so I can pull this data, it can stay in hex form and I can then make a change in a small part of the code(in hex) and then write this data to a device. Is this possible?
  8. epiz

    CRC sub vi

    @ShaunR how do you initialize a shift register?
  9. epiz

    CRC sub vi

    Here is the CRC conversion that I used in one of the sub vi. This works properly. In my main VI, everything is within an event structure in a while loop. Would that be why the CRC updates every time?
  10. I have a combo box where once I select an item its value is then placed in a string I created. I am writing all the values in normal(text) display. The string then displays all of these normal values in hex form. Here is my problem: For only some of these values there are a 1-2 bytes of info that aren't exactly how I want it. For example, the hex string 000D in normal is a blank. I am having trouble portraying what is a blank. I can't just put a space because it either writes as a 20 or just slides all my data over. If a better explanation or picture is needed let me know. Any help is appreciated thank you I just did my own string conversion and copied and pasted the blank value and it worked, but if there is a better way to do it let me know
  11. I have a sub vi that I have used to calculate the CRC for a set of data. It works perfectly, as the data stays the same the crc stays the same. I have run into this issue where once I implement the sub vi into the main Vi the CRC value will change every time I hit run when the data has not changed. If there is a reason why it is happening or if anyone knows how to fix it that would be great thank you
  12. yes, I am going to try this out thank you so much
  13. I have this code for example 1606 1015 24. I know that when I split up each byte, 16 06 10 15 24, I can convert each of these hex values individually to decimal form to get the year, month, day, hour and minute. I have plugged these values in to a converter online and it gives me the values im supposed to get. So for example the 16 in my hex is supposed to turn out a 22 in decimal form. Is this a numeric value or a number, that I dont know. But what I do know is I can't seem to convert it how I want. If that makes sense
  14. My one final question, How can I convert a hex value to a decimal value? I have a hex string, 1 byte and I keep getting zero no matter what I try for the decimal value
  15. Thank you Bryan, your help was able to get me through a very difficult obstacle in my code
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.