tag:blogger.com,1999:blog-4273799050747704870.post5106720454193707765..comments2023-03-13T07:11:55.440-05:00Comments on Open Measurements: LabVIEW API Design: A Quick Case StudyBrian Powellhttp://www.blogger.com/profile/15241716070489721812noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-4273799050747704870.post-81638428594364241222009-01-01T17:13:00.000-06:002009-01-01T17:13:00.000-06:00Thanks, Yair. Those are all excellent topics, and ...Thanks, Yair. Those are all excellent topics, and I'll create a full post to discuss them.<BR/><BR/>As I think you've figured out, there aren't always clean, simple, black and white answers to these questions. So sometimes, it's just a gut feel based on our experience.Brian Powellhttps://www.blogger.com/profile/15241716070489721812noreply@blogger.comtag:blogger.com,1999:blog-4273799050747704870.post-41159090556888594512009-01-01T14:09:00.000-06:002009-01-01T14:09:00.000-06:00This is indeed an important topic. Here are some i...This is indeed an important topic. Here are some issues that come to mind:<BR/><BR/>1. Which operations do you include in the API? How much power do you give the user and what kind of errors do you return if the user made an invalid choice?<BR/><BR/>2. What happens when you have too many choices? I hate VIs with more than the 4-2-2-4 pattern, but sometimes you just need a lot of inputs? What would you do? Use a larger con pane? Use another VI for setting the config? Use a cluster, which can become cumbersome in the diagram? Unfortunately, I can't say I have a very good solution for this.<BR/><BR/>3. Often, figuring out the common parts isn't impossibly hard, but figuring out how to incorporate the parts which are sort of similar but not exactly can be the difficult part.<BR/><BR/>4. Inheritance would be great. Is NI planning on using LVOOP for drivers anytime soon? It's been out for more than two years and I see that more and more parts of LabVIEW are written with it, so I assume drivers are forthcoming, but I'm wondering about a timeline.Yairhttps://www.blogger.com/profile/15354491040607072452noreply@blogger.com