Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by pawhan11

  1. For me it was easier to pass full exam one more time. It is very hard to prepare for multiple choice questions, they ask about xcontrols that I never use and some details about polymorphic vis that noone needs. For full exam You can prepare at home, 60% of the framework that must be preapred is always the same.
  2. I tend to do the same when I have some time to clean up. I did not notice any performance change. Removing error cluster is also good idea so it does not hurt the eye.
  3. Seems that combo box always creates value change event
  4. Thanks fo reply. Can I also check list of all bugs still to fix? Knowing what was fixed without what is still reported/to fix is limiting. Sometimes I start an discussion and someone from NI reports this is known bug that will be fixed. If we had acces to reported bugs it could save a lot of time.
  5. Hello, I need to implement this simple data casting of c# objects in LV object o = "MyString"; SqlString t1 = o as String How this can be done in LV?? cast.vi
  6. Makes sense. I remember one project based on GDS and DVR template. We used IPE to read some data all the time. Each IPE was just to unbundle data outside the structure, no processing done inside to avoid longer locks. It would be nice if the compiler could detect and optimize this when LV is upgraded to new version, so we wouldn't have to go to each IPE and remove write wire.
  7. Seems nice but last time I have checked there were some serious bugs using this read only feature. CAR 671221 and I think 3 others. Is there a link at NI site where we can see all bugs and if they were solved? What is the performance boost when using this read only feature compared to normal read and write?
  8. From my perspective, I have designed sequencers in LV that work fine. Recently I had to switch and use teststand as main sequencer and I can tell this tool is amazing. The ammount of flexibility we can have is almost unlimited. Some apis are not ducomented properly and there is high learning curve in my opinion. This is not a tool that You will plug and play in week. It requires investment that returns over time. I have seen NI training materials and to my opinion they provide no valuable information.
  9. Cross post from NI forums. https://forums.ni.com/t5/LabVIEW/LV-text-rendering-MBCS-OS-Unicode/td-p/3740140 This translation topic keeps coming back to me from time to time when I was asked to provide multilanguage UI for Chinese and Eng. I have the problem in understanding how LV is rendering strings. So far I understand (I hope I do) that Windows uses unicode UTF16. In LV we do not have Unicode support and (we have some private functions but using them is too much pain) uses MBCS so we need codepage to tell how string needs to be rendered. In Windows we can set system locale that will tell non Unicode apps how to render strings? Assuming all that i have a problem understanding why this is displayed: It should display exactly what is on this codepage? If not can someone explain why it shows this results and some random digits at the end? Unicode strings can be converted to multibyte based on given codepage by using WideCharToMultiByte and MultiByteToWideChar. Assuming I have something written in russian/chinese (Unicode) we can convert that to MBCS based on codepage and display correctly for valid codepage in the system? I have looked at LV error files and they are stored in utf8 for xml files, so some sort of conversion must occur inside LV to correctly display this data? txt encoding of error files varies (at least that is what notepad++ is saying), for Chinese txt we have GB2312, when system locale is set to China I assume this coding will be used to render text in LV?
  10. Thank You! This is exactly what I was looking for
  11. That is very nice, now I don't have to waste hours of time for this buttons Edit, I have only one problem - for some images size of the generated control is 200KB or greater, for me this is fine but LV seems to have the problem and slow down significantly during edit time...
  12. I remember doing checksum in ini file as one of the params and do actions in SW based on it. Now in SQLite idea is to have one DB with all params password-protected, depending on user privileges they can edit or only view. At the end, people can find way to alter everything if they really want, but then it is no longer my problem What approach do You use when exchanging data between other platforms written in c#, java or others? I have used XML since all had some parser libraries, now I face that problem with NI RT systems since there is no parser and writing one is beyond my skills.
  13. @crossrulz Thanks for the reply, Are You using default parser integrated in LV or something better? Have You tried to use it on RT systems as well? I have looked some time ago and it seems there was no native DOM parser for LV RT. That was the main reason I had to stick with ini files on RT.
  14. @crossrulz Are You using DOM parsing or toolkits like JKI XML where you cast to predefined structure in LV?
  15. Hello Guys, How do You store configuration data for applications? I have tried ini files, xml, binary over the years. Now I started to think that having one SQLite file for the application would be nice + some interface to configure all that data. What is Your experience on that aspect for small and big scale applications? What worked best, what kind of problems did You have?
  16. After I started using this separate source code feature repo commits are easier to do. I never had stability problems having this option enabled. It takes some time to load project on new machine or when LV cahe has to be cleaned. Recently I have started to pack basic modules into PPLs and they are good for compilation time reduction and when code is reused multiple times. Shame this new vim concept can not be used with PPLs, if I understand correctly they are something like generics in c#. It would be nice if we could make vim class where one or several fields can be adaptive to create for example ring buffer and pack this into reuse ppl at the end. Now I end up with 6 classes that do the same buffer operations depending only on datatypes.
  17. Thanks @shoneill I have managed to make this work. For some reason I could not display texture on mesh but simple rectangle works fine in my case. When I add texture from picture text is always displayed correctly. Thanks again for help
  18. I am using Scene.Drawable.NewText from NI wrapper My gues is stis is some sort of texture over an object.
  19. Thanks for reply but it seems Aliasing is not the problem. People tell about camera perspective : https://stackoverflow.com/questions/5300888/how-can-i-increase-distance-zfar-gluperspective-where-opengl-stops-drawing-obj but objects more in the back are displayed correctly. What I noticed it that this is letter dependent. For some letters like A I must zoom a lot so see something, letter E for example I see always even when I zoom out... On NI forums they had discussion about text display problem and PC was blamed. I have tried on 2 machines and this is not HW related. https://forums.ni.com/t5/LabVIEW/3D-Picture-Text-Display/td-p/2985433 I have tried other fonts but it is unrelevant.
  20. Thanks @shoneill this solved my problem. Another one appeared, I need to zoom in to see displayed text correctly like on attached picture. I want small text to be displayed as well. Do You have idea about that one? It is good to know that NI made some wrapper around opengl so there is chance to find some documentation
  21. @shoneil I have tried that without success. I assumed that item in closer to camera will be displayed(text). Maybe this is related to billboarding? I need text and this green area+ frame to always face camera test2.vi
  22. Hello LV users, I have been fighting with 3D picture for 2 days and I have stumbeld on the following problem: I need to display rectangle + text. Text should be always displayed before background when camera moves or is rotated. I have attached test vi that exports fragment of functionality and shows the problem. Camera settings and billboarding must be set to values provided in test vi. Text must be displayed before green box not after like on picture below. Intresting is when I zoom text is displayed correctly... Do You have any idea which one of undocumented options in 3D picture might help?? This is cross post from NI forums: https://forums.ni.com/t5/LabVIEW/3D-picture-control-objects-overlaying/td-p/3720660 test2.vi
  23. Might be off topic question, but do You also translate all errors and logs when localisation is required? If Yes how do You do it?
  24. Last week I tried to create EH model for my personal purpose. Attached what I ve made so far: download I use source which says what created this error eg Labview, DIO or something else, description containing error code, meaningful description and explanation, timestamp and call chain. Each driver or module has dedicated source name and I dont have to care about error code uniquness. Error codes can be later stored within application or read from disk.
  25. Ot of couriosity, Can VIM be packed into lvlibp? When I tried to do that with xnode I cold not, I got to conclsion that xnode was some form of lvlib iteslf...
  • Create New...

Important Information

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