levylabpitt / AFM-Lithography

BSD 3-Clause "New" or "Revised" License
7 stars 0 forks source link

AFM Type #35

Closed ciozi137 closed 4 years ago

ciozi137 commented 4 years ago

Only one is shown:

image

ciozi137 commented 4 years ago

OK I see that Asylum is the only one available now.

image

@Monkeymerlot Does simulation more work?

Monkeymerlot commented 4 years ago

No. But the newest release of the Asylum API will open up a debug window which will show all of the commands happening in real time. I am unsure of what the simulation mode actually did as I never used it. You will need the latest release of the Asylum-API package for debug mode and to rewire the wire in #34 .

Monkeymerlot commented 4 years ago

Also @ciozi137 , something isn't right with those funnels. Probably had to do with the work I did on the TypeDefs last night.

ciozi137 commented 4 years ago

OK I didn't know Asylum-API had an update. I will grab it and then load on our package server later

Monkeymerlot commented 4 years ago

I think I just forgot to tell you. My bad... It should just be the latest in the builds folder.

ciozi137 commented 4 years ago

Yeah I found it

Monkeymerlot commented 4 years ago

Ok let me know if you still have this issue. I am having issues with the reference to the asylum driver on my computer so I need that functionality to develop the driver without it blowing up with errors.

ciozi137 commented 4 years ago

@Monkeymerlot I'm confused about the folder "Asylum_Driver" in the AFM_Lithography project vs the Asylum API:

image

Also "Asylum_Driver.vi" is still giving me an error after updating the package to v1.0.0.2.

Monkeymerlot commented 4 years ago

Asylum API: Low level commands that directly control the AFM. Things like td_WriteString, td_ReadValue, ir_SetPISLoop etc. These are only commands provided by asylum. Nothing more. Its a simple LabVIEW wrapper for the commands they provide us.

The ActiveX API only provides us with a single command that we use: Execute2. This just sends something to the command line. Instead, I have made Asylum API as a way to send specific commands, properly formatted, to igor. This provides a level of consistency.

Asylum_Driver: Uses these commands to do specific tasks, like move to a position, get XY Set points, Read specific values that we want. Goes through all the points in lithography etc. It is built upon these low level commands in the Asylum API package.

Take the Nanosurf AFM as a counter example. It provides all the functionality through commands provided in the ActiveX interface. If I want to set tip voltage I would just send it through the command provided.

Here is a comparision between the three: image (Edit: Even this would give an error because there isn't quotations around Output.A. This is the type of support that Asylum API provides.) where igor is just the activeX without Asylum API

Monkeymerlot commented 4 years ago

@ciozi137 is it the same error?

Monkeymerlot commented 4 years ago

I will make a video explaining the difference between the Asylum Driver and Asylum API.

ciozi137 commented 4 years ago

@Monkeymerlot thanks your explanation makes sense. But the icons are the same: image

The new error is different. It might be related to the Relay Box package. Checking...

Monkeymerlot commented 4 years ago

Video: https://drive.google.com/file/d/1nYPE_TKi-ClADYARoeyIJR8el_A7k9lh/view?usp=drivesdk

Monkeymerlot commented 4 years ago

I can go in and change the icons for the driver to something else.

Monkeymerlot commented 4 years ago

Driver Icons are changed.

ciozi137 commented 4 years ago

nice. i'm installing Caraya then I will check it

ciozi137 commented 4 years ago

OK thanks. They are different, but I think can be more different. Let's add it to the todo list. I think we can also put each of these things in a class just to use as a container and easy way to update all of the icons at once

image